def __init__(self, detail, source=None, title=None, status=None, code=None, id_=None, links=None, meta=None):
    'Initialize a jsonapi exception\n\n        :param dict source: the source of the error\n        :param str detail: the detail of the error\n        '
    self.detail = detail
    self.source = source
    self.code = code
    self.id = id_
    self.links = (links or {})
    self.meta = (meta or {})
    if (title is not None):
        self.title = title
    if (status is not None):
        self.status = status
Initialize a jsonapi exception

:param dict source: the source of the error
:param str detail: the detail of the error
def __init__(self, detail, source=None, title=None, status=None, code=None, id_=None, links=None, meta=None):
    'Initialize a jsonapi exception\n\n        :param dict source: the source of the error\n        :param str detail: the detail of the error\n        '
    self.detail = detail
    self.source = source
    self.code = code
    self.id = id_
    self.links = (links or {})
    self.meta = (meta or {})
    if (title is not None):
        self.title = title
    if (status is not None):
        self.status = status