Phoenix.NotAcceptableError exception

Raised when one of the accept* headers is not accepted by the server.

This exception is commonly raised by Phoenix.Controller.accepts/2 which negotiates the media types the server is able to serve with the contents the client is able to render.

If you are seeing this error, you should check if you are listing the desired formats in your :accepts plug or if you are setting the proper accept header in the client.

Source

Summary

exception(args)

Callback implementation of Exception.exception/1

message(exception)

Callback implementation of Exception.message/1

Functions

exception(args)

Specs:

Callback implementation of Exception.exception/1.

Source
message(exception)

Specs:

Callback implementation of Exception.message/1.

Source