'Initialize a jsonapi ErrorResponse Object
:param dict source: the source of the error
:param str detail: the detail of the error'

def __init__(self, source, detail, title=None, status=None):

    self.source = source
    self.detail = detail
    if (title is not None):
        self.title = title
    if (status is not None):
        self.status = status
