mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
module manager: switched config table to use entity
This commit is contained in:
@@ -27,6 +27,10 @@ export class BkndError extends Error {
|
||||
super(message);
|
||||
}
|
||||
|
||||
static with(message: string, details?: Record<string, any>, type?: string) {
|
||||
throw new BkndError(message, details, type);
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return {
|
||||
type: this.type ?? "unknown",
|
||||
|
||||
Reference in New Issue
Block a user