eview v0.10.4 EView.Views.Error

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

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})