@zenfs/core 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,8 @@ export declare enum ErrorCode {
9
9
  EPERM = 1,
10
10
  /** No such file or directory */
11
11
  ENOENT = 2,
12
+ /** Interrupted system call */
13
+ EINTR = 4,
12
14
  /** Input/output error */
13
15
  EIO = 5,
14
16
  /** No such device or address */
package/dist/ApiError.js CHANGED
@@ -9,6 +9,8 @@ export var ErrorCode;
9
9
  ErrorCode[ErrorCode["EPERM"] = 1] = "EPERM";
10
10
  /** No such file or directory */
11
11
  ErrorCode[ErrorCode["ENOENT"] = 2] = "ENOENT";
12
+ /** Interrupted system call */
13
+ ErrorCode[ErrorCode["EINTR"] = 4] = "EINTR";
12
14
  /** Input/output error */
13
15
  ErrorCode[ErrorCode["EIO"] = 5] = "EIO";
14
16
  /** No such device or address */
@@ -159,6 +161,7 @@ export var ErrorCode;
159
161
  export const errorMessages = {
160
162
  [ErrorCode.EPERM]: 'Operation not permitted',
161
163
  [ErrorCode.ENOENT]: 'No such file or directory',
164
+ [ErrorCode.EINTR]: 'Interrupted system call',
162
165
  [ErrorCode.EIO]: 'Input/output error',
163
166
  [ErrorCode.ENXIO]: 'No such device or address',
164
167
  [ErrorCode.EBADF]: 'Bad file descriptor',