paupino / psqlpack

A logical database management system for PostgreSQL enabling incremental database deployment.
Apache License 2.0
8 stars 2 forks source link

Use the bail! macro. #47

Closed justinlatimer closed 7 years ago

justinlatimer commented 7 years ago

error-chain provides the bail!(ErrorKind::*) macro to replace return Err(ErrorKind::*.into()) which looks a lot tidier,