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
Fri, Mar 13, 8:32 AM (13 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3652008

Event Timeline