| 1 |
package rocketchat |
| 2 |
|
| 3 |
import "errors" |
| 4 |
|
| 5 |
// ErrInvalidURLScheme indicates the URL scheme is not valid for Rocket.Chat webhooks. |
| 6 |
var ErrInvalidURLScheme = errors.New("rocketchat: invalid URL scheme, only https is allowed") |
| 7 |
|
| 8 |
// ErrNotificationFailed indicates a failure in sending the notification. |
| 9 |
var ErrNotificationFailed = errors.New("notification failed") |
| 10 |
|
| 11 |
// ErrNotEnoughArguments indicates the API URL does not include enough arguments. |
| 12 |
var ErrNotEnoughArguments = errors.New("the apiURL does not include enough arguments") |