On this page
  1. shutil.Error
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

shutil.Error

Prev: shutil.disk_usage | Up: shutil | Next: shutil.get_archive_formats
Rel: shutil.chown, shutil.copy, shutil.copy2, shutil.copyfile
Ref: docs.python.org โ€” shutil.Error
Tags: #public #python3 #stdlib #shutil


Import

import shutil
from shutil import Error

Signature & Overview

shutil.Error(...)

shutil.Error class.

Methods & Attributes

Usage

import shutil

# Base exception for multi-file operations like copytree()
assert issubclass(shutil.Error, OSError)
assert issubclass(shutil.SameFileError, shutil.Error)

Gotchas

REPL Inspect

from shutil import Error
help(Error)

Linked from

Related notes