@stacksjs/error-handling
Version:
Type safe error handling.
1 lines • 155 B
JavaScript
export class ModelNotFoundException extends Error{status;constructor(status,message){super(message);this.status=status;this.name="ModelNotFoundException"}}
Type safe error handling.