Sha256: 8df1f869c264b31f61122280b6bd0a7dc5f47e1c6df17f5af467b12bd7226d12

Contents?: true

Size: 216 Bytes

Versions: 4

Compression:

Stored size: 216 Bytes

Contents

# frozen_string_literal: true

module SmartError
  class ExceptionError < SmartError::BaseError
    def error_code
      SmartError.excption_error_code
    end

    def message
      @error.message
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smart_error-1.0.3 lib/smart_error/exception_error.rb
smart_error-1.0.2 lib/smart_error/exception_error.rb
smart_error-1.0.1 lib/smart_error/exception_error.rb
smart_error-1.0.0 lib/smart_error/exception_error.rb