Initial commit
This commit is contained in:
6
packages/blog/src/entities/errors/article.ts
Normal file
6
packages/blog/src/entities/errors/article.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export class ArticleNotFoundError extends Error {
|
||||
constructor(message = "Article not found", options?: ErrorOptions) {
|
||||
super(message, options);
|
||||
this.name = "ArticleNotFoundError";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user