feat(marketing-pages): add Page + SiteSettings entities + errors
This commit is contained in:
11
packages/marketing-pages/src/entities/errors.ts
Normal file
11
packages/marketing-pages/src/entities/errors.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export class PageNotFoundError extends Error {
|
||||
constructor(message = "Page not found", options?: ErrorOptions) {
|
||||
super(message, options);
|
||||
}
|
||||
}
|
||||
|
||||
export class InputParseError extends Error {
|
||||
constructor(message: string, options?: ErrorOptions) {
|
||||
super(message, options);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user