v7.0.0
7.0.0 (2018-10-23)
Bug Fixes
- update dependencies (e15bd72)
Features
BREAKING CHANGES
- Removing ability to configure NotFoundError.
Instead use a helper function to check if error is of certain type, e.g.
// @flow
import {
NotFoundError as SlonikNotFoundError
} from 'slonik';
import {
NotFoundError as LocalNotFoundError
} from '../types';
export default (error: Error) => {
return error instanceof SlonikNotFoundError || error instanceof LocalNotFoundError;
};