UnimplementedError

Exception thrown when trying to call a method before it has been implemented

Properties

JS
JavaScript

try {

    await payments.notImplemented();

}

catch (e) {

   if (e instanceof UnimplementedError){

      alert("Method is not implemented yet.");

   }

}