Sha256: cbc6235a06838be7d06fda319ade726cf638e4ea868baf4cda13316508863725

Contents?: true

Size: 234 Bytes

Versions: 9

Compression:

Stored size: 234 Bytes

Contents

module LolSoap
  class Error < StandardError; end

  class FaultRaised < Error
    attr_reader :fault

    def initialize(fault)
      @fault = fault
    end

    def message
      "#{fault.reason}\n#{fault.detail}"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lolsoap-0.3.2 lib/lolsoap/errors.rb
lolsoap-0.3.1 lib/lolsoap/errors.rb
lolsoap-0.3.0 lib/lolsoap/errors.rb
lolsoap-0.2.0 lib/lolsoap/errors.rb
lolsoap-0.1.4 lib/lolsoap/errors.rb
lolsoap-0.1.3 lib/lolsoap/errors.rb
lolsoap-0.1.2 lib/lolsoap/errors.rb
lolsoap-0.1.1 lib/lolsoap/errors.rb
lolsoap-0.1.0 lib/lolsoap/errors.rb