mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
20 lines
448 B
Ruby
20 lines
448 B
Ruby
module CustomExceptions::Pdf
|
|
class UploadError < CustomExceptions::Base
|
|
def initialize(message = 'PDF upload failed')
|
|
super(message)
|
|
end
|
|
end
|
|
|
|
class ValidationError < CustomExceptions::Base
|
|
def initialize(message = 'PDF validation failed')
|
|
super(message)
|
|
end
|
|
end
|
|
|
|
class FaqGenerationError < CustomExceptions::Base
|
|
def initialize(message = 'PDF FAQ generation failed')
|
|
super(message)
|
|
end
|
|
end
|
|
end
|