| 1 | package mattermostscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost`/ |
| 2 | |
| 3 | import "errorsscip-go gomod github.com/golang/go/src . errors/" |
| 4 | |
| 5 | // ErrorMessage represents error events within the Mattermost service. |
| 6 | type ErrorMessagescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost`/ErrorMessage# string |
| 7 | |
| 8 | // ErrSendFailed indicates that the notification failed due to an unexpected response status code. |
| 9 | var ErrSendFailedscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost`/ErrSendFailed. = errorsscip-go gomod github.com/golang/go/src . errors/.Newscip-go gomod github.com/golang/go/src . errors/New().( |
| 10 | "failed to send notification to service, response status code unexpected", |
| 11 | ) |
| 12 | |
| 13 | // ErrInvalidURL indicates that the provided URL is invalid. |
| 14 | var ErrInvalidURLscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost`/ErrInvalidURL. = errorsscip-go gomod github.com/golang/go/src . errors/.Newscip-go gomod github.com/golang/go/src . errors/New().("invalid URL: scheme must be http or https and host must be present") |
| 15 | |
| 16 | // ErrNotEnoughArguments indicates that the API URL does not include enough arguments. |
| 17 | var ErrNotEnoughArgumentsscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/mattermost`/ErrNotEnoughArguments. = errorsscip-go gomod github.com/golang/go/src . errors/.Newscip-go gomod github.com/golang/go/src . errors/New().( |
| 18 | "the apiURL does not include enough arguments, either provide 1 or 3 arguments (they may be empty)", |
| 19 | ) |