2016-09-19 14:09:53 +00:00
|
|
|
package mrfusion
|
|
|
|
|
|
|
|
// General errors.
|
|
|
|
const (
|
2016-09-28 19:32:58 +00:00
|
|
|
ErrUpstreamTimeout = Error("request to backend timed out")
|
|
|
|
ErrExplorationNotFound = Error("exploration not found")
|
2016-09-30 20:39:27 +00:00
|
|
|
ErrSourceNotFound = Error("source not found")
|
2016-09-19 14:09:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Error is a domain error encountered while processing mrfusion requests
|
|
|
|
type Error string
|
|
|
|
|
|
|
|
func (e Error) Error() string {
|
|
|
|
return string(e)
|
|
|
|
}
|