8 lines
207 B
TypeScript
8 lines
207 B
TypeScript
import { BudibaseError } from "./base"
|
|
|
|
export class GenericError extends BudibaseError {
|
|
constructor(message: string, code: string, type: string) {
|
|
super(message, code, type ? type : "generic")
|
|
}
|
|
}
|