supply an error code when an unknown context is encountered