@avonjs/avonjs
Version:
A fluent Node.js API generator.
14 lines (13 loc) • 344 B
TypeScript
import ResponsableException from './ResponsableException';
export default class AuthenticationException extends ResponsableException {
protected error?: Error;
constructor(error?: Error | string);
/**
* Get the response code
*/
getCode(): number;
/**
* Get the exception name
*/
getName(): string;
}