Sha256: e389e13f5927f99eebbe0f3dc5c88adfc4a7660ea1f8733ba7e5518b72d5660d

Contents?: true

Size: 252 Bytes

Versions: 11

Compression:

Stored size: 252 Bytes

Contents

require 'genesis_ruby/errors/error'

module GenesisRuby
  # Invalid Argument Custom Error
  class BuilderError < Error

    def custom_message
      return 'Unknown error during building the request!' 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/builder_error.rb
genesis_ruby-0.1.9 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.8 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.7 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.6 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.5 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.4 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.3 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.2 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.1 lib/genesis_ruby/errors/builder_error.rb
genesis_ruby-0.1.0 lib/genesis_ruby/errors/builder_error.rb