class ActiveSupport::SafeBuffer::SafeConcatError

Parent:
StandardError

Raised when ActiveSupport::SafeBuffer#safe_concat is called on unsafe buffers.

Public Class Methods

new() Show source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 149
def initialize
  super "Could not concatenate to the buffer because it is not html safe."
end
Calls superclass method

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.