1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/exceptions/invalid_invoice_error.rb

9 lines
230 B
Ruby
Raw Normal View History

# 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