View Source JSONAPI.ErrorView (jsonapi v1.8.3)
Summary
Types
@type error_attrs() :: map()
Functions
@spec incorrect_content_type() :: map()
@spec malformed_id() :: map()
@spec mismatched_id() :: map()
@spec missing_data_attributes_param() :: map()
@spec missing_data_id_param() :: map()
@spec missing_data_param() :: map()
@spec missing_data_type_param() :: map()
@spec missing_id() :: map()
@spec missing_relationship_data_id_param_error_attrs(binary()) :: error_attrs()
@spec missing_relationship_data_param_error_attrs(binary()) :: error_attrs()
Link to this function
missing_relationship_data_type_param_error_attrs(relationship_name)
View Source@spec missing_relationship_data_type_param_error_attrs(binary()) :: error_attrs()
@spec relationships_missing_object() :: map()
@spec send_error(Plug.Conn.t(), term()) :: term()
@spec serialize_error(error_attrs()) :: map()
@spec to_many_relationships_payload_for_standard_endpoint() :: map()