provide getter for code for TranslatableException