feat: add @standardnotes/encryption package (#1199)
* feat: add @standardnotes/encryption package * fix: mobile dependency on encryption package * fix: order of build & lint in pr workflows * fix: web dependency on encryption package * fix: remove encryption package composite configuration * fix: import order
This commit is contained in:
7
packages/encryption/src/Domain/StandardException.ts
Normal file
7
packages/encryption/src/Domain/StandardException.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export class StandardException {
|
||||
constructor(public readonly message: string, log = false) {
|
||||
if (log) {
|
||||
console.error('StandardException raised: ', message)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user