2020-06-03 12:44:03 +03:00

12 lines
254 B
TypeScript

export const ACCESS_TOKEN_ERROR = 'ACCESS_TOKEN_ERROR';
export default class AccessTokenError extends Error {
message: string;
constructor(message: string) {
super(message);
this.message = message;
this.name = ACCESS_TOKEN_ERROR;
}
}