Sha256: 58ed67a0726c385d6f90e311d8b6aa7df0b483a2eaeb9fa1d7d716c44ec3a1ba
Contents?: true
Size: 1.18 KB
Versions: 224
Compression:
Stored size: 1.18 KB
Contents
module ActionController class ActionControllerError < StandardError #:nodoc: end class RenderError < ActionControllerError #:nodoc: end class RoutingError < ActionControllerError #:nodoc: attr_reader :failures def initialize(message, failures=[]) super(message) @failures = failures end end class MethodNotAllowed < ActionControllerError #:nodoc: attr_reader :allowed_methods def initialize(*allowed_methods) super("Only #{allowed_methods.to_sentence(:locale => :en)} requests are allowed.") end end class NotImplemented < MethodNotAllowed #:nodoc: end class UnknownController < ActionControllerError #:nodoc: end class MissingFile < ActionControllerError #:nodoc: end class RenderError < ActionControllerError #:nodoc: end class SessionOverflowError < ActionControllerError #:nodoc: DEFAULT_MESSAGE = 'Your session data is larger than the data column in which it is to be stored. You must increase the size of your data column if you intend to store large data.' def initialize(message = nil) super(message || DEFAULT_MESSAGE) end end class UnknownHttpMethod < ActionControllerError #:nodoc: end end
Version data entries
224 entries across 185 versions & 18 rubygems