NormNotApplicableError
@nmi-agro/fdm-source / fdm-calculator/src / NormNotApplicableError
Class: NormNotApplicableError
Defined in: fdm-calculator/src/error.ts:6
Thrown when a norm calculation cannot produce a result because the required input data is absent or the cultivation has no applicable norm entry. This is an expected domain condition, not an infrastructure failure.
Extends
Error
Constructors
Constructor
new NormNotApplicableError(
message):NormNotApplicableError
Defined in: fdm-calculator/src/error.ts:7
Parameters
message
string
Returns
NormNotApplicableError
Overrides
Error.constructor
Properties
cause?
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
message
message:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
stack?
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack
Methods
isError()
staticisError(error):error is Error
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.error.d.ts:21
Indicates whether the argument provided is a built-in Error instance or not.
Parameters
error
unknown
Returns
error is Error
Inherited from
Error.isError