Status provides a helper for setting an Error.Status value.
(s int)
| 110 | |
| 111 | // Status provides a helper for setting an Error.Status value. |
| 112 | func Status(s int) *int { |
| 113 | return &s |
| 114 | } |
| 115 | |
| 116 | // Error represents a JSON:API error object as defined by https://jsonapi.org/format/1.1/#error-objects. |
| 117 | type Error struct { |