nx.js

@nx.js/constants

Enumerations

EnumerationDescription
AppletTypeThe category of applet that an nx.js process is running as. Returned by appletGetAppletType().
BisPartitionIdIdentifies a partition on the BIS (Built-in Storage, the internal eMMC). Used by low-level BIS APIs.
ButtonMapping of the button indices on a Gamepad to the corresponding name of the button on the controller.
CapsAlbumFileContentsThe kind of media represented by an album file.
CapsAlbumFileContentsFlagBitmask used when querying the album for files of specific types.
CapsAlbumStorageStorage backend for an album entry.
FsContentAttributesBitmask of attributes for content filesystem operations.
FsFileSystemTypeIdentifies a content filesystem inside an installed title.
FsSaveDataSpaceIdIdentifies which save data space (storage backend) a save data store lives in.
FsSaveDataTypeIdentifies what kind of save data a Switch.SaveData store represents. Used to filter the iterator on Switch.SaveData and to compare against SaveData.type.
HidDeviceTypeBitsBitmask identifying the physical kind of a HID device. Reported by the system HID service.
HidNpadButtonBitmask values for buttons reported by the HID NPad service.
HidNpadStyleTagBitmask identifying the controller "style" reported by the NPad service. A single physical device can correspond to multiple styles depending on how it's held (e.g. a Joy-Con pair shows up as both JoyDual and JoyLeft/JoyRight).
OperationModeWhether the console is running in handheld mode or docked. Tracked by the screen.mode accessor and the screenmodechange event.
SfBufferAttrBitmask of buffer attributes for an IPC service-framework (sf) call. Used by Switch.Service and ServiceDispatchParams.
SfOutHandleAttrHow an output handle in an IPC reply is attributed to the client.
SwkbdTypeSelects which on-screen software keyboard layout is shown to the user.

Variables

VariableDescription
E2BIGArg list too long.
EACCESPermission denied.
EADDRINUSEAddress already in use.
EADDRNOTAVAILAddress not available.
EADVAdvertise error.
EAFNOSUPPORTAddress family not supported by protocol family.
EAGAINNo more processes.
EALREADYSocket already connected.
EBADEInvalid exchange.
EBADFBad file number.
EBADFDf.d. invalid for this operation.
EBADMSGBad message.
EBADRInvalid request descriptor.
EBADRQCInvalid request code.
EBADSLTInvalid slot.
EBFONTBad font file fmt.
EBUSYDevice or resource busy.
ECANCELEDOperation canceled.
ECASECLASHFilename exists with different case.
ECHILDNo children.
ECHRNGChannel number out of range.
ECOMMCommunication error on send.
ECONNABORTEDSoftware caused connection abort.
ECONNREFUSEDConnection refused.
ECONNRESETConnection reset by peer.
EDEADLKDeadlock.
EDEADLOCKFile locking deadlock error.
EDESTADDRREQDestination address required.
EDOMMathematics argument out of domain of function.
EDOTDOTCross mount point (not really error).
EDQUOTDisk quota exceeded.
EEXISTFile exists.
EFAULTBad address.
EFBIGFile too large.
EFTYPEInappropriate file type or format.
EHOSTDOWNHost is down.
EHOSTUNREACHHost is unreachable.
EIDRMIdentifier removed.
EILSEQIllegal byte sequence.
EINPROGRESSConnection already in progress.
EINTRInterrupted system call.
EINVALInvalid argument.
EIOI/O error.
EISCONNSocket is already connected.
EISDIRIs a directory.
EL2HLTLevel 2 halted.
EL2NSYNCLevel 2 not synchronized.
EL3HLTLevel 3 halted.
EL3RSTLevel 3 reset.
ELBINInode is remote (not really error).
ELIBACCCan't access a needed shared lib.
ELIBBADAccessing a corrupted shared lib.
ELIBEXECAttempting to exec a shared library.
ELIBMAXAttempting to link in too many libs.
ELIBSCN.lib section in a.out corrupted.
ELNRNGLink number out of range.
ELOOPToo many symbolic links.
EMFILEFile descriptor value too large.
EMLINKToo many links.
EMSGSIZEMessage too long.
EMULTIHOPMultihop attempted.
ENAMETOOLONGFile or path name too long.
ENETDOWNNetwork interface is not configured.
ENETRESETConnection aborted by network.
ENETUNREACHNetwork is unreachable.
ENFILEToo many open files in system.
ENMFILENo more files.
ENOANONo anode.
ENOBUFSNo buffer space available.
ENOCSINo CSI structure available.
ENODATANo data (for no delay io).
ENODEVNo such device.
ENOENTNo such file or directory.
ENOEXECExec format error.
ENOLCKNo lock.
ENOLINKVirtual circuit is gone.
ENOMEDIUMNo medium (in tape drive).
ENOMEMNot enough space.
ENOMSGNo message of desired type.
ENONETMachine is not on the network.
ENOPKGPackage not installed.
ENOPROTOOPTProtocol not available.
ENOSHARENo such host or network path.
ENOSPCNo space left on device.
ENOSRNo stream resources.
ENOSTRNot a stream.
ENOSYSFunction not implemented.
ENOTBLKBlock device required.
ENOTCONNSocket is not connected.
ENOTDIRNot a directory.
ENOTEMPTYDirectory not empty.
ENOTRECOVERABLEState not recoverable.
ENOTSOCKSocket operation on non-socket.
ENOTSUPNot supported.
ENOTTYNot a character device.
ENOTUNIQGiven log. name not unique.
ENXIONo such device or address.
EOPNOTSUPPOperation not supported on socket.
EOVERFLOWValue too large for defined data type.
EOWNERDEADPrevious owner died.
EPERMNot owner.
EPFNOSUPPORTProtocol family not supported.
EPIPEBroken pipe.
EPROCLIMToo many processes.
EPROTOProtocol error.
EPROTONOSUPPORTUnknown protocol.
EPROTOTYPEProtocol wrong type for socket.
ERANGEResult too large.
EREMCHGRemote address changed.
EREMOTEThe object is remote.
EROFSRead-only file system.
ESHUTDOWNCan't send after socket shutdown.
ESOCKTNOSUPPORTSocket type not supported.
ESPIPEIllegal seek.
ESRCHNo such process.
ESRMNTSrmount error.
ESTALEStale file handle.
ESTRPIPEStreams pipe error.
ETIMEStream ioctl timeout.
ETIMEDOUTConnection timed out.
ETOOMANYREFSToo many references: cannot splice.
ETXTBSYText file busy.
EUNATCHProtocol driver not attached.
EUSERSToo many users.
EXDEVCross-device link.
EXFULLExchange full.

On this page