UNPKG

@curveball/session

Version:

Session storage using HTTP cookies

15 lines (11 loc) 254 B
export class CsrfError extends Error { type = 'https://curveball.org/errors/csrf-error'; title = 'CSRF Error'; detail: string; httpStatus = 403; instance = null; constructor(message: string) { super(); this.detail = message; } }