go-mstdn/api/v1/error.go

7 lines
91 B
Go

package v1
type Error interface {
error
ErrHTTP() (httpStatusCode int)
Unwrap() error
}