Files
alfred-be/alfred/model/common/errors.go
2026-03-08 16:14:42 +05:30

21 lines
373 B
Go

package common
type InvalidSessionError struct{}
func (s *InvalidSessionError) Error() string {
return "no session found"
}
type InvalidRequestError struct{}
func (s *InvalidRequestError) Error() string {
return "invalid request"
}
type InvalidDeviceRequestError struct {
}
func (s *InvalidDeviceRequestError) Error() string {
return "no device attribute found"
}