Amber: Error pages generator

Created on 8 Oct 2017  路  6Comments  路  Source: amberframework/amber

Description

When first creating a new application, an Error Controller is provided but it isn't hooked up and doesn't do anything without some work.

Create a new generator that will provide the 3 views, the Error Controller, and the registry of the handler in the pipeline.

enhancement

Most helpful comment

Are there two steps to this issue?

  1. Create fully functioning error generator (probably take cues from auth generator)
  2. Remove the error controller from being generated with amber new

I could probably take this one.

All 6 comments

Are there two steps to this issue?

  1. Create fully functioning error generator (probably take cues from auth generator)
  2. Remove the error controller from being generated with amber new

I could probably take this one.

I have some WIP stashed for this, but waiting on https://github.com/amberframework/amber/pull/330 to get merged in.

@drujensen - Can you confirm my question about the the steps for this issue above?

@marksiemers that is correct. There are a couple helper methods to inject the pipeline and add the routes. You can find those used in the Auth generator as well. Thanks for taking this on.

Can this be moved to 0.4.0 milestone?

415

Was this page helpful?
0 / 5 - 0 ratings

Related issues

faustinoaq picture faustinoaq  路  7Comments

yorci picture yorci  路  6Comments

elorest picture elorest  路  6Comments

faustinoaq picture faustinoaq  路  6Comments

netwarp picture netwarp  路  6Comments