ElasticTranscoder / Client / exceptions / ResourceInUseException

ResourceInUseException#

class ElasticTranscoder.Client.exceptions.ResourceInUseException#

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

Example

try:
  ...
except client.exceptions.ResourceInUseException 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

{}

Structure

  • (dict) –

    The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

    • 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.