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

Module Error

source code

Standardized Error Messages

Classes [hide private]
  PyFoamException
The simplest exception for PyFoam
Functions [hide private]
 
getLine(up=0) source code
 
__common(standard, *text)
Common function for errors and Warnings
source code
 
warning(*text)
Prints a warning message with the occuring line number
source code
 
error(*text)
Prints an error message with the occuring line number and aborts
source code
 
debug(*text)
Prints a debug message with the occuring line number
source code

Imports: traceback, sys


Function Details [hide private]

warning(*text)

source code 

Prints a warning message with the occuring line number

Parameters:
  • text - The error message

error(*text)

source code 

Prints an error message with the occuring line number and aborts

Parameters:
  • text - The error message

debug(*text)

source code 

Prints a debug message with the occuring line number

Parameters:
  • text - The error message