跳到主要内容

enum ErrorCode

所在文件: /#e/ErrorCode.gs

枚举值

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

返回