Package PyFoam :: Package Infrastructure :: Module Error
[hide private]
[frames] | no frames]

Module Error



Standardized Error Messages

Functions [hide private]
  __common(standard, text)
Common function for errors and Warnings
  error(text)
Prints an error message with the occuring line number an aborts
  getLine(up=0)
  warning(text)
Prints a warning message with the occuring line number an aborts

Imports: sys, traceback


Function Details [hide private]

__common(standard, text)

 
Common function for errors and Warnings

error(text)

 
Prints an error message with the occuring line number an aborts
Parameters:
  • text - The error message

getLine(up=0)

 
None

warning(text)

 
Prints a warning message with the occuring line number an aborts
Parameters:
  • text - The error message