Add support for errorParameters in custom error codes.
Authored by: tutasrinivas 2012-08-02
Parent: [r6292]
Child: [r6294]