mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 11:42:04 +00:00
9 lines
389 B
JavaScript
9 lines
389 B
JavaScript
import createError from 'create-error';
|
|
import * as HTTPStatus from './web/httpstatus';
|
|
|
|
export const ChannelStateSizeError = createError('ChannelStateSizeError');
|
|
export const ChannelNotFoundError = createError('ChannelNotFoundError');
|
|
export const CSRFError = createError('CSRFError');
|
|
export const HTTPError = createError('HTTPError', {
|
|
status: HTTPStatus.INTERNAL_SERVER_ERROR
|
|
});
|