Files
standardnotes-app-web/packages/encryption/src/Domain/StandardException.ts
Mo 4a29e2a24c chore: upgrade eslint and prettier (#2376)
* chore: upgrade eslint and prettier

* chore: add restrict-template-expressions
2023-07-27 14:36:05 -05:00

11 lines
194 B
TypeScript

export class StandardException {
constructor(
public readonly message: string,
log = false,
) {
if (log) {
console.error('StandardException raised: ', message)
}
}
}