class Shutterbug::Handlers::ErrorTrigger

Public Class Methods

regex() click to toggle source
# File lib/shutterbug/handlers/error_trigger.rb, line 5
def self.regex
  /#{Configuration.instance.path_prefix}\/error/
end

Public Instance Methods

handle(helper, req, env) click to toggle source
# File lib/shutterbug/handlers/error_trigger.rb, line 9
def handle(helper, req, env)
  raise "Forced exception: #{req}, #{env}"
end