mirror of
https://github.com/elyby/chrly.git
synced 2024-11-18 03:03:01 +05:30
26 lines
391 B
Go
26 lines
391 B
Go
|
package db
|
||
|
|
||
|
type ParamRequired struct {
|
||
|
Param string
|
||
|
}
|
||
|
|
||
|
func (e ParamRequired) Error() string {
|
||
|
return "Required parameter not provided"
|
||
|
}
|
||
|
|
||
|
type SkinNotFoundError struct {
|
||
|
Who string
|
||
|
}
|
||
|
|
||
|
func (e SkinNotFoundError) Error() string {
|
||
|
return "Skin data not found."
|
||
|
}
|
||
|
|
||
|
type CapeNotFoundError struct {
|
||
|
Who string
|
||
|
}
|
||
|
|
||
|
func (e CapeNotFoundError) Error() string {
|
||
|
return "Cape file not found."
|
||
|
}
|