method

set_error

set_error(ex, backtrace=false)
public

Creates an error page for exception ex with an optional backtrace