Sha256: ac8ad3d96bb5d6a250ef755710bcedeccb676d6f2aeae6e77b85b7525f54a78a

Contents?: true

Size: 227 Bytes

Versions: 43

Compression:

Stored size: 227 Bytes

Contents

module Marty::Diagnostic; class Fatal < Base
  def self.message msg, opts = {}
    node = opts[:node] || Node.my_ip
    type = opts[:type] || 'RuntimeError'
    {name.demodulize => {node => {type => error(msg)}}}
  end
end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
marty-2.5.2 other/marty/diagnostic/fatal.rb
marty-2.5.1 other/marty/diagnostic/fatal.rb
marty-2.5.0 other/marty/diagnostic/fatal.rb
marty-2.4.9 other/marty/diagnostic/fatal.rb
marty-2.4.8 other/marty/diagnostic/fatal.rb
marty-2.4.7 other/marty/diagnostic/fatal.rb
marty-2.4.6 other/marty/diagnostic/fatal.rb
marty-2.4.5 other/marty/diagnostic/fatal.rb
marty-2.4.4 other/marty/diagnostic/fatal.rb
marty-2.4.3 other/marty/diagnostic/fatal.rb
marty-2.4.2 other/marty/diagnostic/fatal.rb
marty-2.4.1 other/marty/diagnostic/fatal.rb
marty-2.4.0 other/marty/diagnostic/fatal.rb
marty-2.3.15 other/marty/diagnostic/fatal.rb
marty-2.3.14 other/marty/diagnostic/fatal.rb
marty-2.3.13 other/marty/diagnostic/fatal.rb
marty-2.3.12 other/marty/diagnostic/fatal.rb
marty-2.3.11 other/marty/diagnostic/fatal.rb
marty-2.3.10 other/marty/diagnostic/fatal.rb
marty-2.3.9 other/marty/diagnostic/fatal.rb