overdue
This commit is contained in:
14
.rclone_repo/backend/yandex/api/errors.go
Executable file
14
.rclone_repo/backend/yandex/api/errors.go
Executable file
@@ -0,0 +1,14 @@
|
||||
package src
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
//DiskClientError struct
|
||||
type DiskClientError struct {
|
||||
Description string `json:"Description"`
|
||||
Code string `json:"Error"`
|
||||
}
|
||||
|
||||
func (e DiskClientError) Error() string {
|
||||
b, _ := json.Marshal(e)
|
||||
return string(b)
|
||||
}
|
||||
Reference in New Issue
Block a user