| 1 | package signalgrid |
| 2 | |
| 3 | import "errors" |
| 4 | |
| 5 | var ( |
| 6 | // ErrClientKeyMissing indicates that the Signalgrid client key is absent from the URL. |
| 7 | ErrClientKeyMissing = errors.New("signalgrid client key is missing") |
| 8 | |
| 9 | // ErrChannelMissing indicates that the Signalgrid channel token is absent from the URL. |
| 10 | ErrChannelMissing = errors.New("signalgrid channel token is missing") |
| 11 | |
| 12 | // ErrSendFailed indicates that sending a Signalgrid notification failed. |
| 13 | ErrSendFailed = errors.New("failed to send signalgrid notification") |
| 14 | |
| 15 | // ErrUnexpectedStatus indicates that the Signalgrid API returned a non-success HTTP status. |
| 16 | ErrUnexpectedStatus = errors.New("signalgrid API returned unexpected status") |
| 17 | ) |