errno¶
The errno module exposes all system error codes matching reason strings.
Note
The exposed error codes may vary depending on the platform.
-
errno.map¶ A
Mapmapping error codes to their string versions. Example:sjs> errno.map.get(1) = EPERM
-
errno.E*¶ All errno constants available in the system as exposed as module level constants. Example:
sjs> errno.EPERM = 1
-
errno.strerror(code)¶ Get the string that describes the given error code.