Skip to content

tiny-go/errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

errors

Build Status Report Card GoCover

Collection of HTTP error implementations

HTTP error interface

type Error interface{
  error
  Code() int
}

Implementations

Code Corresponding error type
400 BadRequest
401 Unauthorized
403 Forbidden
404 NotFound
405 MethodNotAllowed
406 NotAcceptable
408 RequestTimeout
409 Conflict
500 InternalServer
501 NotImplemented
503 ServiceUnavailable

About

Collection of HTTP errors implementations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages