@bitloops/bl-boilerplate-core
Version:
TypeScript boilerplate code for Bitloops Language generated projects
14 lines (13 loc) • 338 B
JavaScript
export class AppError {
message;
errorId;
nakable;
// This errorId should have the same value with class property errorId
// and is used for reading
static errorId;
constructor(message, errorId, nakable) {
this.message = message;
this.errorId = errorId;
this.nakable = nakable;
}
}