Skip to content

Commit

Permalink
Make error_type public so it can be examined by ProcessingManager
Browse files Browse the repository at this point in the history
  • Loading branch information
kspurgin committed Aug 13, 2024
1 parent 40985fc commit 9277bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/emendate/date_types/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class Error
attr_reader :exception
# @return [String, nil]
attr_reader :message
# @return [Symbol]
attr_reader :error_type

# @param sources [SegmentSet, Array<Segment>] Segments
# included in the date type
Expand Down Expand Up @@ -66,8 +68,6 @@ def type = :"#{error_type}_date_type"

private

attr_reader :error_type

def addable_token_types = []
end
end
Expand Down

0 comments on commit 9277bdf

Please sign in to comment.