@travetto/model
Advanced tools
Comparing version 5.0.4 to 5.0.5
{ | ||
"name": "@travetto/model", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Datastore abstraction for core operations.", | ||
@@ -29,10 +29,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/config": "^5.0.4", | ||
"@travetto/di": "^5.0.4", | ||
"@travetto/registry": "^5.0.4", | ||
"@travetto/schema": "^5.0.4" | ||
"@travetto/config": "^5.0.5", | ||
"@travetto/di": "^5.0.5", | ||
"@travetto/registry": "^5.0.5", | ||
"@travetto/schema": "^5.0.5" | ||
}, | ||
"peerDependencies": { | ||
"@travetto/cli": "^5.0.4", | ||
"@travetto/test": "^5.0.4" | ||
"@travetto/cli": "^5.0.5", | ||
"@travetto/test": "^5.0.5" | ||
}, | ||
@@ -39,0 +39,0 @@ "peerDependenciesMeta": { |
@@ -7,5 +7,5 @@ import { Class, AppError } from '@travetto/runtime'; | ||
export class NotFoundError extends AppError { | ||
constructor(cls: Class | string, id: string) { | ||
super(`${typeof cls === 'string' ? cls : cls.name} with id ${id} not found`, 'notfound'); | ||
constructor(cls: Class | string, id: string, details?: unknown) { | ||
super(`${typeof cls === 'string' ? cls : cls.name} with id ${id} not found`, 'notfound', details); | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157073
Updated@travetto/config@^5.0.5
Updated@travetto/di@^5.0.5
Updated@travetto/registry@^5.0.5
Updated@travetto/schema@^5.0.5