Panorama / Client / exceptions / ConflictException

ConflictException#

class Panorama.Client.exceptions.ConflictException#

The target resource is in use.

Example

try:
  ...
except client.exceptions.ConflictException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'ErrorArguments': [
        {
            'Name': 'string',
            'Value': 'string'
        },
    ],
    'ErrorId': 'string',
    'Message': 'string',
    'ResourceId': 'string',
    'ResourceType': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The target resource is in use.

    • ErrorArguments (list) –

      A list of attributes that led to the exception and their values.

      • (dict) –

        A conflict exception error argument.

        • Name (string) –

          The error argument’s name.

        • Value (string) –

          The error argument’s value.

    • ErrorId (string) –

      A unique ID for the error.

    • Message (string) –

    • ResourceId (string) –

      The resource’s ID.

    • ResourceType (string) –

      The resource’s type.

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.