Sha256: c177a3ba644a19d7b8dda3992fd9f091a67801be6b43be5508b6172754e2132f

Contents?: true

Size: 236 Bytes

Versions: 11

Compression:

Stored size: 236 Bytes

Contents

require 'genesis_ruby/errors/error'

module GenesisRuby
  # Response Custom Error
  class ResponseError < Error

    def custom_message
      return 'Invalid/Unexpected format given! ' 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/response_error.rb
genesis_ruby-0.1.9 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.8 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.7 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.6 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.5 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.4 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.3 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.2 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.1 lib/genesis_ruby/errors/response_error.rb
genesis_ruby-0.1.0 lib/genesis_ruby/errors/response_error.rb