Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for underlyingErrorIs (0.19 sec)

  1. src/os/error.go

    // well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrExist).
    func IsExist(err error) bool {
    	return underlyingErrorIs(err, ErrExist)
    }
    
    // IsNotExist returns a boolean indicating whether the error is known to
    // report that a file or directory does not exist. It is satisfied by
    // [ErrNotExist] as well as some syscall errors.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top