Fix bug when registering the same error twice.
Change to using a HashMap internally as much faster.
Change to using a HashMap internally as much faster.
Upped version to 1.1-SNAPSHOT