1
mirror of https://github.com/rclone/rclone synced 2024-12-14 02:29:58 +01:00
rclone/yandex/api/errors.go

15 lines
258 B
Go

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)
}