teknik-eksjo / chronos

A scheduling app that helps teachers submit workday outlines
MIT License
5 stars 5 forks source link

Add additional error-pages #133

Open Greenheart opened 8 years ago

Greenheart commented 8 years ago

This would present application errors in a better way for our users.

Pages to add

Maybe there's something more? (At the moment chronos only throws errors 400 and 403 in 6 places)

hugolundin commented 8 years ago

@Limpan also talked about that we should add json responses for the error-handler. Should this be documented in an additional issue?

Greenheart commented 8 years ago

json responses for the error-handler

Could you explain that, I'm not sure I understand :santa:

When I opened this issue, I thought about a 400.html-template

hugolundin commented 8 years ago

He thought we should add json responses for the error handling routes as a complement for the rendered templates.

Greenheart commented 8 years ago

To render dynamic messages?

Could @Limpan clarify this? :yum: