Sha256: 146fb91a681c46507c2b6fc7f1927f6af9c1e8b94ff5372fb5399327a28dfbc4

Contents?: true

Size: 271 Bytes

Versions: 27

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

module Pennyworth
  module Models
    # Defines a standard error.
    StandardError = Data.define :name, :file_path, :line_number do
      def initialize name: nil, file_path: nil, line_number: nil
        super
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pennyworth-17.8.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.7.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.6.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.5.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.4.1 lib/pennyworth/models/standard_error.rb
pennyworth-17.4.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.3.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.2.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.1.0 lib/pennyworth/models/standard_error.rb
pennyworth-17.0.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.7.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.5.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.4.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.3.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.2.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.1.0 lib/pennyworth/models/standard_error.rb
pennyworth-16.0.0 lib/pennyworth/models/standard_error.rb
pennyworth-15.4.1 lib/pennyworth/models/standard_error.rb
pennyworth-15.4.0 lib/pennyworth/models/standard_error.rb
pennyworth-15.3.0 lib/pennyworth/models/standard_error.rb