Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ajv-validator/ajv
/ throw
Method
throw
lib/compile/codegen/index.ts:693–695 ·
view source on GitHub ↗
(error: Code)
Source
from the content-addressed store, hash-verified
691
692
// `throw` statement
693
throw(error: Code): CodeGen {
694
return
this._leafNode(
new
Throw(error))
695
}
696
697
// start self-balancing block
698
block(body?: Block, nodeCount?: number): CodeGen {
Callers
15
callAsyncRef
Function · 0.80
returnErrors
Function · 0.80
returnResults
Function · 0.80
validateAsync
Function · 0.80
resolve.spec.ts
File · 0.80
ajv.spec.ts
File · 0.80
passValidationThrowCompile
Function · 0.80
async.spec.ts
File · 0.80
codegen.spec.ts
File · 0.80
keyword.spec.ts
File · 0.80
shouldBeInvalidSchema
Function · 0.80
testThrow
Function · 0.80
Calls
1
_leafNode
Method · 0.95
Tested by
10
passValidationThrowCompile
Function · 0.64
shouldBeInvalidSchema
Function · 0.64
testThrow
Function · 0.64
testThrowDuplicate
Function · 0.64
test
Function · 0.64
test
Function · 0.64
testOptionMeta
Function · 0.64
test
Function · 0.64
test
Function · 0.64
test
Function · 0.64