EView.Views.Error (eview2 v0.15.1)

Views for different kind of 4xx and 5xx error of your application.

Summary

Functions

This render will be used by-default for internal errors. You can use it in your controller

Functions

Link to this function

render(template, assigns \\ %{})

This render will be used by-default for internal errors. You can use it in your controller:

  conn |> render("500.json", %{type: my_type})