@classmethod
def create(cls, exception, title=None, detail=None, pointer=None, status=
    None, meta=None):
    """Create a new JSON-API style error body."""
    return cls(cls.dict_from_populated(code=exception.__class__.__name__,
        title=title or exception.args[0], detail=detail, meta=meta, status=
        str(int(status)) if status is not None else None, source={'pointer':
        pointer} if pointer else None))
