Page MenuHomeMusing Studio

errors.go
No OneTemporary

errors.go

package impart
import (
"net/http"
)
type HTTPError struct {
Status int
Message string
}
func (h HTTPError) Error() string {
if h.Message == "" {
return http.StatusText(h.Status)
}
return h.Message
}

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 12, 7:40 AM (9 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3652008

Event Timeline