Error
type Error struct {
Status int32
CodeName string
Message string
}
Error is a runtime failure: the coarse status plus the C error object's two string channels. CodeName is machine-readable in every build; Message is human diagnostics (an opaque code in release builds).
Methods
Error
func (e *Error) Error() string
Error renders the message, with the machine-readable code name appended when the runtime supplied one.