mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-07 10:19:04 +02:00
Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
co-authored by
Elias Schneider
parent
7c55bdf115
commit
1934efa84c
@@ -69,6 +69,15 @@ func (e OidcInvalidCallbackURLError) Error() string {
|
||||
}
|
||||
func (e OidcInvalidCallbackURLError) HttpStatusCode() int { return http.StatusBadRequest }
|
||||
|
||||
type InvalidCIMDURLPatternError struct {
|
||||
Pattern string
|
||||
}
|
||||
|
||||
func (e InvalidCIMDURLPatternError) Error() string {
|
||||
return "invalid metadata document URL pattern: " + e.Pattern
|
||||
}
|
||||
func (e InvalidCIMDURLPatternError) HttpStatusCode() int { return http.StatusBadRequest }
|
||||
|
||||
type FileTypeNotSupportedError struct{}
|
||||
|
||||
func (e FileTypeNotSupportedError) Error() string { return "file type not supported" }
|
||||
|
||||
Reference in New Issue
Block a user