Redirect exceptions are rescued by the Waves dispatcher and used to set the response status and location.
[Source]
# File lib/dispatchers/base.rb, line 13 13: def initialize( path, status = '302' ) 14: @path = path 15: @status = status 16: end
# File lib/dispatchers/base.rb, line 17 17: def message 18: "location: #{@path} status: #{@status}" 19: end
[Validate]