Methods

  • Checks the response for an error status code and throws an error if one is found.

    Parameters

    • response: IncomingMessage

      the HTTP response to be verified.

    • resourceOperation: ResourceOperation

      the operation being performed on the resource.

    • resourceType: ResourceType

      the type of resource being checked.

    • namespace: NamespaceName

      the namespace of the resource being checked.

    • name: string

      the name of the resource being checked.

    Returns void