Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // PathError records an error and the operation and file path that caused it.
- type PathError struct {
- Op string // "open", "unlink", etc.
- Path string // The associated file.
- Err error // Returned by the system call.
- }
- func (e *PathError) String() string {
- return e.Op + " " + e.Path + ": "+ e.Err.Error()
- }
Add Comment
Please, Sign In to add comment