enum ErrorCode
所在文件: /#e/ErrorCode.gs
枚举值
| 名称 | 值 | 说明 |
|---|---|---|
| EWOULDBLOCK | -20001 | Resource temporarily unavailable |
| EINPROGRESS | -20002 | Operation now in progress |
| EALREADY | -20003 | Operation already in progress |
| ENOTSOCK | -20004 | Socket operation on non socket |
| EDESTADDRREQ | -20005 | Destination address required |
| EMSGSIZE | -20006 | Message too long |
| EPROTOTYPE | -20007 | Protocol wrong type for socket |
| ENOPROTOOPT | -20008 | Protocol not available |
| EPROTONOSUPPORT | -20009 | Protocol not supported |
| ESOCKTNOSUPPORT | -20010 | Socket type not supported |
| EOPNOTSUPP | -20011 | Operation not supported on socket |
| EPFNOSUPPORT | -20012 | Protocol family not supported |
| EAFNOSUPPORT | -20013 | Address family not supported by protocol family |
| EADDRINUSE | -20014 | Address already in use |
| EADDRNOTAVAIL | -20015 | Can t assign requested address |
| ENETDOWN | -20016 | Network is down |
| ENETUNREACH | -20017 | Network is unreachable |
| ENETRESET | -20018 | Network dropped connection on reset |
| ECONNABORTED | -20019 | Software caused connection abort |
| ECONNRESET | -20020 | Connection reset by peer |
| ENOBUFS | -20021 | No buffer space available |
| EISCONN | -20022 | Socket is already connected |
| ENOTCONN | -20023 | Socket is not connected |
| ESHUTDOWN | -20024 | Can t send after socket shutdown |
| ETOOMANYREFS | -20025 | Too many references can t splice |
| ETIMEDOUT | -20026 | Operation timed out |
| ECONNREFUSED | -20027 | Connection refused |
| ELOOP | -20028 | Too many levels of symbolic links |
| EHOSTDOWN | -20029 | Host is down |
| EHOSTUNREACH | -20030 | No route to host |
| EPROCLIM | -20031 | Too many processes |
| EUSERS | -20032 | Too many users |
| EDQUOT | -20033 | Disc quota exceeded |
| ESTALE | -20034 | Stale NFS file handle |
| EREMOTE | -20035 | Too many levels of remote in path |
| ENOMEM | -20036 | Cannot allocate memory |
| EEXIST | -20037 | File exists |
| ENOENT | -20038 | No such file or directory |
| EBADF | -20039 | Bad file descriptor |
| EINVAL | -20040 | Invalid argument |
| EAGAIN | -20041 | Resource temporarily unavailable |
| OK | 0 | Success |
| UNKNOWN_ERROR | -1 | Unknown error |
| STL_ERROR | -18650 | STL exception |
| NOT_ENOUGH_MEMORY | -101 | Not enough memory |
| FAIL_TO_EXECUTE_SCRIPT | -102 | Fail to execute script when creating object |
| PATH_NAME_TOO_LONG | -201 | Path name is too long |
| PATH_OUT_OF_ROOT | -202 | Path out of root directory |
| FILE_NAME_WAS_OUTPUT_FILE | -203 | Same input output file name |
| CAN_NOT_CREATE_DIRECTORY | -204 | Can t create directory |
| BAD_PROTOCOL | -205 | Bad protocol or dual protocol of path |
| MOUNT_POINT_EXISTED | -501 | Mount point was existed |
| BAD_MOUNT_POINT | -502 | Bad path to mount |
| NOT_FOUND_MOUNT_POINT | -503 | Not found mount point |
| FAIL_TO_LOAD_COMPONENT | -601 | Fail to load component |
| COMPILE_ERROR | -602 | Compile error |
| PASS1_ERROR | -603 | Phase pass1 error |
| PASS2_ERROR | -604 | Failed to create a coroutine |
| CAN_NOT_CREATE_COROUTINE | -604 | Failed to create a coroutine |
| R_ERR_NOT_FOUND_OBJECT | -10003 | Call object is not existed |
| R_ERR_THREAD_TERMINATED | -10004 | Thread was terminated |
| R_ERR_HANDLE_LOCK_FAIL | -10005 | Fail to lock handle |
| R_ERR_NO_PEND | -10006 | Can not do any pending operation in current coroutine |
| R_ERR_AFFINITY_TO_THREAD | -10007 | Coroutine affinity to thread can t be pend |
| R_ERR_MODIFY_AFTER_CD | -10008 | Read or modify object s variable after domain switching |
| R_ERR_CONSTRUCT_OBJECT | -10009 | Construct object failed |
| WAIT_ERR_TERMINATED | -2002 | Thread was terminated when waiting |
| WAIT_ERR_TIMEOUT | -2003 | Timeout when waiting |
| WAIT_ERR_OBJECT_DESTRUCTED | -2004 | Pend object was destructed when waiting |
| IO_BAD_DEVICE | -3001 | Bad IO device |
| IO_BAD_SEEK_ORIGIN | -3002 | Bad seek origin |
| IO_CAN_NOT_OPEN | -3003 | Can t open device |
| IO_CAN_NOT_READ | -3004 | Can t read device |
| IO_CAN_NOT_WRITE | -3005 | Can t write device |
| IO_TOO_MANY_OPENED_DEVICES | -3007 | Too many opened devices |
| IO_ERROR | -3008 | Device operation error |
| IO_NOT_SUPPORT | -3009 | Feature of device is not supported |
| IO_ALREADY_INITED | -3011 | Already initialized |
| IO_UNKNOWN_OPTION | -3012 | Unknown option of device |
| IO_RENAME_CROSS_DEVICE | -3016 | Can t rename file dir cross device |
| IO_SYSTEM_SHUTTING_DOWN | -3099 | Can t open device when system shutting down |