mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
12 lines
246 B
Go
12 lines
246 B
Go
package auth
|
|
|
|
// Error is an authentication error.
|
|
type Error struct {
|
|
Wrapped error
|
|
AskCredentials bool
|
|
}
|
|
|
|
// Error implements the error interface.
|
|
func (e Error) Error() string {
|
|
return "authentication failed: " + e.Wrapped.Error()
|
|
}
|