pub type ErrorResult = Result<(), Error>;
The return type for IDL operations that can throw DOM exceptions and return ().
()