Sha256: 998d745b4d0440379d8d8029ca2ffabeb5ae413fa94a53a44add64b37226add3

Contents?: true

Size: 251 Bytes

Versions: 11

Compression:

Stored size: 251 Bytes

Contents

require 'genesis_ruby/errors/error'

module GenesisRuby
  # Invalid Argument Custom Error
  class ParserError < Error

    def custom_message
      return 'Unknown error during parsing the response!' unless @message

      @message
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
genesis_ruby-0.2.0 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.9 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.8 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.7 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.6 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.5 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.4 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.3 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.2 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.1 lib/genesis_ruby/errors/parser_error.rb
genesis_ruby-0.1.0 lib/genesis_ruby/errors/parser_error.rb