Class WebErrorHandler

java.lang.Object
ortus.boxlang.web.handlers.WebErrorHandler

public class WebErrorHandler extends Object
I handle default errors for a web request TODO: allow custom error template to be configured
  • Constructor Details

    • WebErrorHandler

      public WebErrorHandler()
  • Method Details

    • handleError

      public static void handleError(Throwable e, IBoxHTTPExchange exchange, WebRequestBoxContext context, ortus.boxlang.runtime.util.FRTransService frTransService, ortus.boxlang.runtime.interop.DynamicObject trans)
      Handle an error
      Parameters:
      e - the error
      exchange - the exchange
      context - the context
      frTransService - the FRTrans, if any
      trans - the transaction, if any