Sha256: e11254762dde2f96b95cbdff761bf70f117add35533df08c954e7d64fea36d37
Contents?: true
Size: 887 Bytes
Versions: 22
Compression:
Stored size: 887 Bytes
Contents
ERROR DESCRIPTION Gloo has a special 'error' variable that's not part of the normal object heap. The error will be empty most of the time, but if a command results in an error, this variable will hold the error message until the next command is executed. The error is a string and can be accessed by simply referring to the path-name 'error'. EXAMPLE To see the last error: > show error To run a command that generates an error: > put 3 into 'put' must include 'into' target Then, showing the error > show error 'put' must include 'into' target But, as mentioned, the next command will clear out the last error. If you need to keep track of the result of a command, you should put the error into another object. > create err as string > put 3 into > put error into err
Version data entries
22 entries across 22 versions & 2 rubygems