SQLError currently uses hard-coded error codes. Instead, the error codes defined in the spec should be added to SQLError.idl and SQLError.h, which would also make them available for testing.
Created attachment 58963 [details] patch
Comment on attachment 58963 [details] patch great!
Landed as r61352.