Report abuse


			
      class InternalServerError         < Merb::ControllerExceptions::ServerError; STATUS = 500
        DEFAULT_TEMPLATE = Erubis::MEruby.new(File.read(File.join(
            MERB_SKELETON_DIR, 'app/views/exceptions/internal_server_error.html.erb')))
      
        def initialize(exception = nil)
          @exception = exception
          @coderay = CodeRay rescue nil
        end
      
        def backtrace
          @exception ? @exception.backtrace : backtrace
        end
      
        def message
          @exception ? @exception.message : message
        end
      end