Sha256: f6aa4768cf1376a7bd86a1d6541fa025aecd08c5cad70c44e865ab56606f1587
Contents?: true
Size: 240 Bytes
Versions: 3
Compression:
Stored size: 240 Bytes
Contents
# frozen_string_literal: true module Servitium class ContextFailure < Servitium::Error attr_reader :context def initialize(context) @context = context super(context.errors.full_messages.join(', ')) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
servitium-1.3.0 | lib/servitium/context_failure.rb |
servitium-1.2.28 | lib/servitium/context_failure.rb |
servitium-1.2.20 | lib/servitium/context_failure.rb |