1 import createError
from 'create-error';
2 import * as HTTPStatus
from './web/httpstatus';
4 export const ChannelStateSizeError
= createError('ChannelStateSizeError');
5 export const ChannelNotFoundError
= createError('ChannelNotFoundError');
6 export const CSRFError
= createError('CSRFError');
7 export const HTTPError
= createError('HTTPError', {
8 status
: HTTPStatus
.INTERNAL_SERVER_ERROR
10 export const ValidationError
= createError('ValidationError');
11 export const InvalidRequestError
= createError('InvalidRequestError');