Package pyraf :: Module irafecl :: Class Erract
[hide private]
[frames] | no frames]

Class Erract

source code


Erract is a state variable (singleton) which corresponds to the IRAF ECL environment variable 'erract'. erract has the following properties which control ECL exception handling:

abort | noabort An ECL task should stop and unwind when it encounters an untrapped error.

trace | notrace Output to stderr for each task failure.

flpr | noflpr Flush the process cache for failed tasks.

clear | noclear Reset the $errno, $errmsg, $errtask variables with each task invocation, or not.

full | nofull Show tracebacks for the entire ECL call stack or just the erring task.

ecl | noecl Use ECL style error handling or classic PyRAF exception handling.

Instance Methods [hide private]
 
__init__(self, clear=True, flpr=True, abort=True, trace=True, full=True, ecl=True)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
states(self) source code
 
set_one(self, field) source code
 
adjust(self, values) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, clear=True, flpr=True, abort=True, trace=True, full=True, ecl=True)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)