Library of status codes for the Selenium JSON Wire Protocol.
import { statusCodes } from 'appium-base-driver';
statusCodes.NoSuchContext;
// -> {code: 35, summary: 'No such context found'}
import { getSummaryByCode } from 'appium-base-driver';
getSummaryByCode(0);
// -> 'The command executed successfully.'