mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: rewrite repositories with base entity repository class.
feat: sales and purchases status. feat: sales and purchases auto-increment number. fix: settings find query with extra columns.
This commit is contained in:
8
server/src/exceptions/ModelEntityNotFound.ts
Normal file
8
server/src/exceptions/ModelEntityNotFound.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
export default class ModelEntityNotFound extends Error {
|
||||
|
||||
constructor(entityId, message?) {
|
||||
message = message || `Entity with id ${entityId} does not exist`;
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user