mirror of
https://github.com/Xevion/banner.git
synced 2025-12-06 13:14:25 -06:00
13 lines
249 B
Go
13 lines
249 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
type UnexpectedContentTypeError struct {
|
|
Expected string
|
|
Actual string
|
|
}
|
|
|
|
func (e *UnexpectedContentTypeError) Error() string {
|
|
return fmt.Sprintf("Expected content type '%s', received '%s'", e.Expected, e.Actual)
|
|
}
|