code: func ErrorToJSONAPIErrors(ctx context.Context, err error) (*app.JSONAPIErrors, int) {
  	jerr, httpStatusCode := ErrorToJSONAPIError(ctx, err)
  	jerrors := app.JSONAPIErrors{}
  	jerrors.Errors = append(jerrors.Errors, &jerr)
  	return &jerrors, httpStatusCode
  }
docs: // ErrorToJSONAPIErrors is a convenience function if you
  // just want to return one error from the models package as a JSONAPI errors
  // array.