MCPcopy 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.
476func (v *Value) Error() error {
477 return v.ToError()
478}
479
480// ToError returns the error value of the value.
481func (v *Value) ToError() error {

Calls 1

ToErrorMethod · 0.95