26 lines
530 B
Go
26 lines
530 B
Go
// Code generated by zi2go from std_errors_go.zi. DO NOT EDIT.
|
|
package main
|
|
|
|
import errors "errors"
|
|
|
|
// #import std_go_types
|
|
func StdErrorsGo_MessageRaw(Error Error) string {
|
|
return Error.Error()
|
|
}
|
|
|
|
func StdErrorsGo_New(message string) Error {
|
|
return errors.New(message)
|
|
}
|
|
|
|
func StdErrorsGo_Is(error Error, target Error) bool {
|
|
return errors.Is(error, target)
|
|
}
|
|
|
|
func StdErrorsGo_Unwrap(error Error) Error {
|
|
return errors.Unwrap(error)
|
|
}
|
|
|
|
func StdErrorsGo_Message(error Error) string {
|
|
return StdErrorsGo_MessageRaw(error)
|
|
}
|