12 lines
250 B
Python
12 lines
250 B
Python
from odoo.exceptions import UserError
|
|
|
|
|
|
class MissingApiKeyError(UserError):
|
|
"""Missing Carbone API Keys error.
|
|
|
|
When you try to use Carbone API without correct key.
|
|
"""
|
|
|
|
def __init__(self, message):
|
|
super().__init__(message)
|