Over 10 Million Study Resources Now at Your Fingertips


Download as :
Rating : ⭐⭐⭐⭐⭐
Price : $10.99
Language:EN
Pages: 2

The job server executes the name handleerror from errordict

115

3.11

Errors

2. Pushes that object on the operand stack.

3. Looks up the error’s name in errordict and executes the associated value, which is the error handler for that error.

The default error-handling procedures all operate in a standard way. They record information about the error in a special dictionary named $error, set the VM al-

116

Language

After an error occurs and one of the default error-handling procedures is exe-cuted, $error contains the entries shown in Table 3.16.

estack array

TABLE 3.16 Entries in the $error dictionary

A snapshot of the execution stack, stored as if by the execstack operator.

dstack array

A snapshot of the dictionary stack, stored as if by the dictstack operator.

array or null (LanguageLevel 2) If the error arose from an operator that takes a parameter
array
KEY TYPE
newerror boolean

A flag that is set to true to indicate that an error has occurred. handleerror

errorname

name
any
How It Works
Login account
Login Your Account
Add to cart
Add to Cart
Payment
Make payment
Document download
Download File
PageId: ELIF6307CD
img
Uploaded by :
QqG1G7Zq
Page 1 Preview
the job server executes the name handleerror from
Sell Your Old Documents & Earn Wallet Balance