View Source JSONAPI.ErrorView (jsonapi v1.6.0)

Link to this section Summary

Link to this section Functions

Link to this function

build_error(title, status, detail, pointer \\ nil, meta \\ nil)

View Source
Link to this function

incorrect_content_type()

View Source
@spec incorrect_content_type() :: map()
@spec malformed_id() :: map()
@spec mismatched_id() :: map()
Link to this function

missing_data_attributes_param()

View Source
@spec missing_data_attributes_param() :: map()
@spec missing_data_id_param() :: map()
@spec missing_data_param() :: map()
Link to this function

missing_data_type_param()

View Source
@spec missing_data_type_param() :: map()
@spec missing_id() :: map()
@spec send_error(Plug.Conn.t(), term()) :: term()
Link to this function

send_error(conn, status, error \\ "")

View Source
@spec serialize_error(map()) :: map()
Link to this function

to_many_relationships_payload_for_standard_endpoint()

View Source
@spec to_many_relationships_payload_for_standard_endpoint() :: map()