{"modulePath":"github.com/morecup/rclone","version":"v1.2.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\nPackage errors provides error handling utilities.\n\n## Functions\n\n```go\nfunc Walk(err error, f WalkFunc)\n```\nWalk invokes the given function for each error in the chain. If the provided functions returns true or no further cause can be found, the process is stopped and no further calls will be made.\n\nThe next error in the chain is determined by the following rules:\n\n\t\tthe return value of this method is used.\n\t  - If the current error has a `Unwrap() error` method\n\t    the return value of this method is used.\n\t  - If the current error has a `Unwrap() []error` method\n\t    the return values of this method is used.\n\t  - Common errors in the Go runtime that contain an Err field will use this value.\n\n## Types\n\n```go\ntype WalkFunc func(error) bool\n```\nWalkFunc is the signature of the Walk callback function. The function gets the current error in the chain and should return true if the chain processing should be aborted.\n\n","path":"github.com/morecup/rclone/lib/errors","name":"errors","synopsis":"Package errors provides error handling utilities.","isRedistributable":true}
