feat(postgres): Bootstrap Postgres persistence implementation
Adds the initial finito-postgres crate with type definitions for the tables and initial functions to interact with persisted FSMs. This is far from feature complete at this commit.
This commit is contained in:
parent
c03e14758f
commit
b1e00ff026
4 changed files with 272 additions and 1 deletions
8
finito-postgres/src/error.rs
Normal file
8
finito-postgres/src/error.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
//! This module defines error types and conversions for issue that can
|
||||
//! occur while dealing with persisted state machines.
|
||||
|
||||
use std::result;
|
||||
|
||||
pub type Result<T> = result::Result<T, Error>;
|
||||
|
||||
pub enum Error { SomeError }
|
||||
Loading…
Add table
Add a link
Reference in a new issue