mstdn/api/v1.Error

master
Charles Iliya Krempeaux 2023-10-01 13:01:14 +09:00
parent ebc24716de
commit 3d069e6921
1 changed files with 6 additions and 0 deletions

6
api/v1/error.go 100644
View File

@ -0,0 +1,6 @@
package v1
type Error interface {
error
ErrHTTP() (httpStatusCode int)
Unwrap() error
}