Sha256: 219a97d9f356e079eae9b94b93f1b17725d01f1561b9837a5cfd24a2fb94d95f
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Pragma module Decorator module Association # This error is raised when expansion of an unexpandable association is attempted. # # @author Alessandro Desantis class UnexpandableError < StandardError # Initializes the error. # # @param reflection [Reflection] the unexpandable association def initialize(reflection) super "Association '#{reflection.property}' cannot be expanded." end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pragma-decorator-1.3.0 | lib/pragma/decorator/association/unexpandable_error.rb |
pragma-decorator-1.2.0 | lib/pragma/decorator/association/unexpandable_error.rb |