try {
        commandDefinition = this.commandFactory.provideCommandDefinition();
      } catch (error) {
        return {
          success: false,