Sha256: 9f7215b2e6e2186c5c7b58cea5a165df2387990287e8e212d6e40b6ded66f7a4
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 Bytes
Contents
module NationBuilder module Exceptions class ValidationError < StandardError attr_accessor :message, :errors, :code def initialize(message, errors, code) self.message = message self.errors = errors self.code = code super() end def to_s "#{super()} \n message: #{message} \n code: #{code} \n errors: #{errors}" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems