IsError returns true if an error has been set in this context.
()
| 27 | |
| 28 | // IsError returns true if an error has been set in this context. |
| 29 | func (ctx *Context) IsError() bool { |
| 30 | ctx.RLock() |
| 31 | defer ctx.RUnlock() |
| 32 | return ctx.isError |
| 33 | } |
| 34 | |
| 35 | // Message returns the error message for this context. |
| 36 | func (ctx *Context) Message() string { |
no outgoing calls