[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ZINRPT
- interruptRaised when an interrupt signal is received.
ZBKERR
- BREAK pointRaised when a BREAK
point is reached.
ZNOSTAND
- non standard syntaxRaised when features incompatible with the current value of $DIALECT
are used.
ZUNDEF
- variable not foundRaised when an undefined local or global variable is accessed. This error code has been deprecated in favor of standard error codes M6
and M7
.
ZLBLUNDEF
- label not foundRaised when a referenced label is not found.
ZMISSOPD
- missing operandRaised when an operand is missing from an expression.
ZMISSOP
- missing operatorRaised when an operator is missing from an expression.
ZILLOP
- unrecognized operatorRaised when an unrecognized operator is encountered in an expression.
ZQUOTER
- unmatched quotesRaised when unbalanced quotes are encountered.
ZCOMMAER
- comma expectedRaised when a comma is expected in program syntax but is not found.
ZASSIGNER
- equals ’=’ expectedRaised when an equals sign is expected in program syntax but is not found.
ZARGER
- argument not permittedRaised when an argument is encountered in a syntactic position where arguments are not permitted.
ZSPACER
- blank ’ ’ expectedRaised when a space character is expected in program syntax but is not found.
ZBRAER
- unmatched parenthesesRaised when unbalanced parentheses are detected in program syntax.
ZLVLERR
- level errorRaised when a level error occurs.
ZDIVER
- divide by zeroRaised when program code attempts to divide by zero. Deprecated in favor of standard error code M9
.
ZILLFUN
- function not foundRaised when program code attempts to call intrinsic or extrinsic functions that are not defined.
ZFUNARG
- wrong number of function argumentsRaised when an intrinsic or extrinsic function is called with the wrong number of arguments.
ZZTERR
- ZTRAP errorRaised when a $ZTRAP
error occurs.
ZNEXTERR
- $NEXT/$ORDER errorRaised when an error occurs in $NEXT
or $ORDER
.
ZSELER
- $SELECT errorRaised when an error occurs in $SELECT
ZCMMND
- illegal commandRaised when program code attempts to execute an illegal command.
ZARGLIST
- argument list incorrectRaised when the argument list supplied to an M language element does not match that language element’s syntactic requirements.
ZINVEXPR
- invalid expressionRaised when an invalid expression is encountered.
ZINVREF
- invalid referenceRaised when an invalid variable reference is encountered.
ZMXSTR
- string too longRaised when a string is encountered that exceeds ^$SYSTEM("STRING_MAX")
.
ZTOOPARA
- too many parametersRaised when too many parameters are passed to a function or subroutine.
ZNOPEN
- unit not openRaised when attempting to access an I/O channel that has not been opened.
ZNODEVICE
- unit does not existRaised when attempting to access a device that does not exist.
ZPROTECT
- file protection violationRaised when attempting to access a file or device to which you do not have permission.
ZGLOBER
- global not permittedRaised when attempting to use a global in a syntactic element where global variables are not permitted.
ZFILERR
- file not foundRaised when attempting to access a file that does not exist.
ZPGMOV
- program overflowRaised when a program overflows the limits of a routine buffer.
ZSTKOV
- stack overflowRaised when DO
, FOR
, or XECUTE
nesting levels exceed the value in ^$SYSTEM("NESTLEVLS")
.
ZSTORE
- symbol table overflowRaised when program code attempts to store too much data in the local symbol table. Should not occur unless symbol table auto-adjust is disabled.
ZNOREAD
- file won’t readRaised when program code attempts to read from an unreadable file.
ZNOWRITE
- file won’t writeRaised when program code attempts to write to an unwritable file.
ZNOPGM
- routine not foundRaised when an attempt is made to load or execute a routine that does not exist in the current namespace.
ZNAKED
- illegal naked referenceRaised when an attempt is made to use an illegal naked reference.
ZSBSCR
- illegal subscriptRaised when an illegal subscript access is attempted.
ZISYNTX
- insert syntaxRaised when illegal insert syntax is used.
ZDBDGD
- database degradationRaised when database corruption is detected.
ZKILLER
- job kill signalRaised on a job kill signal.
ZHUPER
- hangup signalRaised on a job hangup signal.
ZMXNUM
- numeric overflowRaised when an assignment or expression result exceeds $ZPRECISION
.
ZNOVAL
- function returns no valueRaised when a function does not return a value. Extrinsic functions must QUIT
with a value.
ZTYPEMISMATCH
- type mismatchRaised when a type mismatch occurs.
ZMEMOV
- out of memoryRaised when FreeM runs out of heap memory.
ZNAMERES
- error in name resolutionRaised when an attempted name resolution fails.
ZSCKCREAT
- error creating socketRaised when an error occurs creating a socket for network I/O.
ZSCKIFAM
- invalid address family (must be IPV4 or IPV6)Raised when the address family specified in an OPEN
command for a socket I/O channel is not IPV4 or IPV6.
ZSCKITYP
- invalid connection type (must be TCP or UDP)Raised when the connection type specified in an OPEN
command for a socket I/O channel is not TCP
or UDP
.
ZSCKIPRT
- invalid port numberRaised when the port number specified in an OPEN
command for a socket I/O channel is invalid. Valid TCP and UDP ports are in the range of 1-65535.
ZSCKCERR
- connection errorRaised when an error occurs on a USE <channel>:/CONNECT
command.
ZSCKAERR
- USE action invalid for connection type (possibly CONNECT on UDP socket?)Raised when an attempt is made to USE <channel>:/CONNECT
on a UDP socket I/O channel. The UDP protocol is connectionless.
ZSCKACON
- attempted to CONNECT an already-connected socketRaised when an attempt is made to USE <channel>:/CONNECT
on a TCP socket I/O channel that is already connected.
ZSCKNCON
- attempted to READ from a disconnected TCP socketRaised when an attempt is made to READ
a TCP socket that has not yet been connected.
ZSCKEOPT
- error setting socket optionsRaised when an error is encountered while setting socket options.
ZSCKERCV
- error in READ from socketRaised when an error occurs in a socket I/O channel READ
.
ZSCKESND
- error in WRITE to socketRaised when an error occurs while attempting to WRITE
to a socket I/O channel.
ZNORPI
- ^$ZRPI only supported on Raspberry Pi hardwareRaised when an attempt is made to use the ^$ZRPI
structured system variable on a platform other than the Raspberry Pi single-board computer.
ZCREDEF
- cannot redefine CONSTRaised when attempts are made to redefine a CONST
after its initial definition.
ZCMODIFY
- cannot modify CONSTRaised when attempts are made to change the value of a CONST
.
ZFILEXWR
- cannot open existing file for WRITERaised when an attempt is made to open an existing file in write (but not append) mode.
INEWMULT
- initializing NEW with multiple setarguments not supportedRaised when you attempt to use multiple setarguments with initializing NEW
, e.g. NEW X=2,Y=3
.
ZECODEINV
- invalid value for $ECODERaised when attempts are made to set $ECODE
to an invalid error code value. Obsolete and replaced by standard error code M101
.
ZASSERT
- programmer assertion failedRaised when an ASSERT
expression’s result is not true.
ZUSERERR
- user-defined errorRaised when program code calls THROW
with an error code argument for which the first character is U
, or when $ECODE
is set to an error code for which the first character is U
.
Custom error messages for ZUSERERR
may be set in ^$JOB($JOB,"USER_ERRORS",<user_error_code>)
, where <user_error_code>
represents the custom error code.
For example:
USER> S ^$JOB($JOB,"USER_ERRORS","UBLACKHOLE")="black hole encountered" USER> THROW UBLACKHOLE >> Error UBLACKHOLE: black hole encountered in SYSTEM::^%SYS.INIT [$STACK = 0] >> THROW UBLACKHOLE ^
ZSYNTERR
- syntax errorRaised when a syntax error without a more specific error code is encountered.
ZCTRLB
- breakPseudo-error used by the FreeM debugger. Not visibly raised in normal program operation.
ZASYNC
- asynchronous interruptionPseudo-error used by the FreeM asynchronous events subsystem. Not visibly raised in normal program operation.
M1
- naked indicator undefinedRaised when an attempt is made to use a naked reference before the naked indicator is set.
M2
- invalid combination with $FNUMBER code atomM3
- $RANDOM seed less than 1M4
- no true condition in $SELECTM5
- line reference less than zeroM6
- undefined local variableM7
- undefined global variableM8
- undefined intrinsic special variableM9
- divide by zeroM10
- invalid pattern match rangeM11
- no parameters passedM12
- invalid line reference (negative offset)M13
- invalid line reference (line not found)M14
- line level not 1M15
- undefined index variableM16
- argumented QUIT not allowedM17
- argumented QUIT requiredM18
- fixed length READ not greater than zeroM19
- cannot copy a tree or subtree onto itselfM20
- line must have a formal parameter listM21
- algorithm specification invalidM22
- SET or KILL to ^$GLOBAL when data in globalM23
- SET or KILL to ^$JOB for non-existent job numberM24
- change to collation algorithm while subscripted local variables definedM26
- non-existent environmentM27
- attempt to rollback a transaction that is not restartableM28
- mathematical function, parameter out of rangeM29
- SET or KILL on structured system variable not allowed by implementationM30
- reference to global variable with different collating sequence within a collating algorithmM31
- control mnemonic used for device without a mnemonic space selectedM32
- control mnemonic used in user-defined mnemonic space which has no associated lineM33
- SET or KILL to ^$ROUTINE when routine existsM35
- device does not support mnemonic spaceM36
- incompatible mnemonic spacesM37
- READ from device identified by empty stringM38
- invalid structured system variable subscriptM39
- invalid $NAME argumentM40
- call-by-reference in JOB actual parameterM41
- invalid LOCK argument within a transactionM42
- invalid QUIT within a transactionM43
- invalid range value ($X, $YM44
- invalid command outside of a transactionM45
- invalid GOTO referenceM56
- identifier exceeds maximum lengthM57
- more than one defining occurrence of label in routineM58
- too few formal parametersM60
- illegal attempt to use an undefined SSVNM101
- invalid value for $ECODEM102
- synchronous and asynchronous event processing cannot be simultaneously enabled for the same event classM103
- invalid event identifierM104
- ETRIGGER event identifier for IPC event class does not match job process identifier[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on September 20, 2023 using texi2html 5.0.