mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-10-30 17:37:47 +00:00
18 lines
481 B
Python
18 lines
481 B
Python
# coding: utf-8
|
|
|
|
|
|
class Error:
|
|
|
|
def __init__(self, code: int = None, message: str = None, description: str = None):
|
|
"""Error
|
|
:param code: The code of this Error.
|
|
:type code: int
|
|
:param message: The message of this Error.
|
|
:type message: str
|
|
:param description: The description of this Error.
|
|
:type description: str
|
|
"""
|
|
self.code = code
|
|
self.message = message
|
|
self.description = description
|