A social knowledge tool for researchers built on ATProto
1interface IUseCaseError extends Error { 2 message: string; 3} 4 5export abstract class UseCaseError implements IUseCaseError { 6 public readonly message: string; 7 public name: string = 'UseCaseError'; 8 9 constructor(message: string) { 10 this.message = message; 11 } 12 toString(): string { 13 return `${this.constructor.name}: ${this.message}`; 14 } 15}