Sqerl error code config

We should be ready for merge on this as soon as I get some confirmation.