Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buke/quickjs-go
/ Error
Method
Error
value.go:476–478 ·
view source on GitHub ↗
Deprecated: Use ToError() instead.
()
Source
from the content-addressed store, hash-verified
474
475
// Deprecated: Use ToError() instead.
476
func
(v *Value) Error() error {
477
return
v.ToError()
478
}
479
480
// ToError returns the error value of the value.
481
func
(v *Value) ToError() error {
Callers
15
exceptionError
Method · 0.95
TestContextEvaluation
Function · 0.45
TestContextBytecodeOperations
Function · 0.45
TestContextModules
Function · 0.45
TestContextLoadModuleAsyncPromiseExecutorTimeout
Function · 0.45
TestContextLoadModuleAsyncPromiseExecutorUnhandledRejection
Function · 0.45
TestContextLoadModuleAsyncPromiseExecutorUnhandledRejectionWithoutExecuteTimeout
Function · 0.45
TestContextErrorHandling
Function · 0.45
TestContextUtilities
Function · 0.45
TestContextAsync
Function · 0.45
TestContextInternalsCoverage
Function · 0.45
TestContextTypedArrays
Function · 0.45
Calls
1
ToError
Method · 0.95
Tested by
15
TestContextEvaluation
Function · 0.36
TestContextBytecodeOperations
Function · 0.36
TestContextModules
Function · 0.36
TestContextLoadModuleAsyncPromiseExecutorTimeout
Function · 0.36
TestContextLoadModuleAsyncPromiseExecutorUnhandledRejection
Function · 0.36
TestContextLoadModuleAsyncPromiseExecutorUnhandledRejectionWithoutExecuteTimeout
Function · 0.36
TestContextErrorHandling
Function · 0.36
TestContextUtilities
Function · 0.36
TestContextAsync
Function · 0.36
TestContextInternalsCoverage
Function · 0.36
TestContextTypedArrays
Function · 0.36
TestContextAsyncFunction
Function · 0.36