Class: YaksokError<T>
Extends
Error
Extended by
UnknownOperatorErrorInvalidTypeForCompareErrorInvalidTypeForOperatorErrorRangeStartMustBeIntegerErrorRangeEndMustBeIntegerErrorFFIResultTypeIsNotForYaksokErrorErrorInFFIExecutionErrorOccurredWhileRunningFFIExecutionCannotReturnOutsideFunctionErrorFunctionMustHaveOneOrMoreStringPartErrorAlreadyDefinedFunctionErrorCallStackDepthExceededErrorIndexKeyNotFoundErrorStringIndexOutOfRangeErrorNotEnumerableValueForListLoopErrorListIndexMustBeGreaterOrEqualThan0ErrorRangeEndMustBeNumberErrorRangeStartMustBeLessThanEndErrorListIndexTypeErrorRangeStartMustBeNumberErrorTargetIsNotIndexedValueErrorBreakNotInLoopErrorNoBreakOrReturnErrorLoopCountIsNotNumberErrorLoopWithoutBodyErrorErrorInModuleErrorCannotParseErrorIndentIsNotMultipleOf4ErrorIndentLevelMismatchErrorUnexpectedCharErrorUnexpectedEndOfCodeErrorUnexpectedTokenErrorFileForRunNotExistErrorFFIRuntimeNotFoundMultipleFFIRuntimeErrorAlreadyRegisteredModuleErrorCannotUseReservedWordForIdentifierNameErrorNotDefinedIdentifierError
Type Parameters
• T = unknown
Constructors
YaksokError()
YaksokError<
T>(props):YaksokError<T>
Parameters
• props
• props.position?: Position
• props.resource?: T
• props.tokens?: Token[]
Returns
YaksokError<T>
Overrides
Error.constructor
Defined in
Properties
child?
optionalchild:YaksokError<unknown>
Defined in
codeFile?
optionalcodeFile:CodeFile
Defined in
message
message:
string
Inherited from
Error.message
Defined in
node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1077
name
name:
string
Inherited from
Error.name
Defined in
node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1076
position?
optionalposition:Position
Defined in
resource?
optionalresource:T
Defined in
stack?
optionalstack:string
Inherited from
Error.stack
Defined in
node_modules/.deno/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1078
tokens?
optionaltokens:Token[]