feat(blog): add Article entity with rich-text content + domain errors

This commit is contained in:
2026-05-04 22:11:08 +02:00
parent 161c858f32
commit 692ee58365
3 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
export class ArticleNotFoundError extends Error {
constructor(message = "Article not found", options?: ErrorOptions) {
super(message, options);
}
}
export class InputParseError extends Error {
constructor(message: string, options?: ErrorOptions) {
super(message, options);
}
}