Class DS.UnauthorizedError

A DS.UnauthorizedError equates to a HTTP 401 Unauthorized response
status. It is used by an adapter to signal that a request to the external
API was rejected because authorization is required and has failed or has not
yet been provided.

An example use case would be to redirect the user to a log in route if a
request is unauthorized: