mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix nodoc to internal class error document some of them
[ci skip] Fixes #20808 [Vipul A M & Julio Lopez]
This commit is contained in:
parent
5119171d39
commit
c7281b37ac
4 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,6 @@ module ActionController
|
|||
end
|
||||
|
||||
private
|
||||
# :nodoc:
|
||||
def include_content?(status)
|
||||
case status
|
||||
when 100..199
|
||||
|
|
|
@ -138,6 +138,8 @@ end
|
|||
|
||||
module ActiveSupport
|
||||
class XMLConverter # :nodoc:
|
||||
# Raised if the XML contains attributes with type="yaml" or
|
||||
# type="symbol". Read Hash#from_xml for more details.
|
||||
class DisallowedType < StandardError
|
||||
def initialize(type)
|
||||
super "Disallowed type attribute: #{type.inspect}"
|
||||
|
|
|
@ -141,6 +141,7 @@ module ActiveSupport #:nodoc:
|
|||
alias_method :original_concat, :concat
|
||||
private :original_concat
|
||||
|
||||
# Raised when <tt>ActiveSupport::SafeBuffer#safe_concat</tt> is called on unsafe buffers.
|
||||
class SafeConcatError < StandardError
|
||||
def initialize
|
||||
super 'Could not concatenate to the buffer because it is not html safe.'
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "active_support/notifications"
|
||||
|
||||
module ActiveSupport
|
||||
# Raised when <tt>ActiveSupport::Deprecation::Behavior#behavior</tt> is set with <tt>:raise</tt>.
|
||||
# You would set <tt>:raise</tt>, as a behaviour to raise errors and proactively report exceptions from deprecations.
|
||||
class DeprecationException < StandardError
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue