mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
9 lines
230 B
Ruby
9 lines
230 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Raised when an invalid invoice is encountered in database
|
||
|
class InvalidInvoiceError < StandardError
|
||
|
def initialize(msg = nil)
|
||
|
super(msg || 'Please run rails `fablab:fix_invoices`')
|
||
|
end
|
||
|
end
|