Currently, each command implements its own handler for rejected promises. Given that SharePoint REST API conforms to the OData standard, we could simplify the code by implementing a common handler in the Command base class that all commands could point to.
Currently, each command implements its own handler for rejected promises. Given that SharePoint REST API conforms to the OData standard, we could simplify the code by implementing a common handler in the Command base class that all commands could point to.