Use a map for error-codes to error-page mapping.
Milestone