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

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