Sha256: 6d3aae696d4b32cb8e5166e6253193173c3b29bf108ea914b3704ab34d4adcb1

Contents?: true

Size: 233 Bytes

Versions: 6

Compression:

Stored size: 233 Bytes

Contents

# Mixin module to define standard errors for scaffolder.
#
module Scaffolder::Errors
  exceptions = %w[ UnknownAttributeError CoordinateError UnknownSequenceError]
  exceptions.each { |e| const_set(e, Class.new(StandardError)) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scaffolder-0.5.0 lib/scaffolder/errors.rb
scaffolder-0.4.4 lib/scaffolder/errors.rb
scaffolder-0.4.3 lib/scaffolder/errors.rb
scaffolder-0.4.2 lib/scaffolder/errors.rb
scaffolder-0.4.1 lib/scaffolder/errors.rb
scaffolder-0.4.0 lib/scaffolder/errors.rb