MCPcopy
hub / github.com/go-yaml/yaml / fail

Function fail

yaml.go:303–305  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

301}
302
303func fail(err error) {
304 panic(yamlError{err})
305}
306
307func failf(format string, args ...interface{}) {
308 panic(yamlError{fmt.Errorf("yaml: "+format, args...)})

Callers 4

marshalMethod · 0.85
callUnmarshalerMethod · 0.85
scalarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected