ext: Add ExtensionError exception class