static/jsvm/interfaces/syscall.Errno.html
An Errno is an unsigned number describing an error condition. It implements the error interface. The zero Errno is by convention a non-error, so code to convert from Errno to error should use:
err = nil if errno != 0 { err = errno }Copy
Errno values can be tested against error values using [errors.Is]. For example:
_, _, err := syscall.Syscall(...) if errors.Is(err, fs.ErrNotExist) ...Copy
OSLightDark
Generated using TypeDoc