function createUnsupportedError$2(message) {
    var err = new Error(message);
    err.code = constants$4.UNSUPPORTED;
    return err;
  }
Creates an error object to be thrown when a behavior, option, or parameter is unsupported.

@public
@static
@param {string} message - Error message to be displayed.
@returns {Error} instance detailing the error condition