26 lines
504 B
Go
26 lines
504 B
Go
// Code generated by zi2go from errors_go.zi. DO NOT EDIT.
|
|
package main
|
|
|
|
import errors "errors"
|
|
|
|
// #import go_types
|
|
func ErrorsGo_MessageRaw(Error Error) string {
|
|
return Error.Error()
|
|
}
|
|
|
|
func ErrorsGo_New(message string) Error {
|
|
return errors.New(message)
|
|
}
|
|
|
|
func ErrorsGo_Is(error Error, target Error) bool {
|
|
return errors.Is(error, target)
|
|
}
|
|
|
|
func ErrorsGo_Unwrap(error Error) Error {
|
|
return errors.Unwrap(error)
|
|
}
|
|
|
|
func ErrorsGo_Message(error Error) string {
|
|
return ErrorsGo_MessageRaw(error)
|
|
}
|