(message string)
| 31 | } |
| 32 | |
| 33 | func (e *appError) WithMessage(message string) *appError { |
| 34 | e.Message = message |
| 35 | return e |
| 36 | } |
| 37 | |
| 38 | func (e *appError) IsJSON() bool { |
| 39 | return e.ContentType == jsonMediaType |
no outgoing calls
no test coverage detected