InternalServerError generates a 500 error.
(id, format string, a ...interface{})
| 86 | |
| 87 | // InternalServerError generates a 500 error. |
| 88 | func InternalServerError(id, format string, a ...interface{}) error { |
| 89 | return newError(id, 500, format, a...) |
| 90 | } |
| 91 | |
| 92 | // Equal tries to compare errors. |
| 93 | func Equal(err1 error, err2 error) bool { |
searching dependent graphs…