mirror of
https://github.com/rclone/rclone.git
synced 2025-03-28 12:42:08 +02:00
The SDK doesn't wrap errors in a Go standard way so they can't be unwrapped and tested for - eg fatal error. The code looks for a Serialization or RequestError and returns the unwrapped underlying error if possible. This fixes the fs/operations integration tests checking for fatal errors being returned.