Allows StatusError to satisfy the error interface.
()
| 24 | |
| 25 | // Allows StatusError to satisfy the error interface. |
| 26 | func (se *StatusError) Error() string { |
| 27 | return se.Err.Error() |
| 28 | } |
| 29 | |
| 30 | // Returns our HTTP status code. |
| 31 | func (se *StatusError) Status() int { |