SetType sets the error's type.
(flags ErrorType)
| 41 | |
| 42 | // SetType sets the error's type. |
| 43 | func (msg *Error) SetType(flags ErrorType) *Error { |
| 44 | msg.Type = flags |
| 45 | return msg |
| 46 | } |
| 47 | |
| 48 | // SetMeta sets the error's meta data. |
| 49 | func (msg *Error) SetMeta(data any) *Error { |
no outgoing calls