JaSerializer.ErrorSerializer
A super basic wrapper for formatting jsonapi errors.
Takes a map (or list of maps) with the following keys:
:id :links :about :status :code :title :detail :source :meta
See http://jsonapi.org/format/#error-objects for more on errors.
Summary
format(error) | |
format(error, conn) | |
format(errors, conn, opts) |