package-error-package (ANSI and GNU Common Lisp Document)

Previous: package-error, Up: Packages Dictionary

#### 11.2.30 package-error-package [Function]

`package-error-package` condition ⇒ package

#### Arguments and Values::

condition—a condition of type package-error.

package—a package designator.

#### Description::

Returns a designator for the offending package in the situation represented by the condition.

#### Examples::

     (package-error-package
       (make-condition 'package-error
         :package (find-package "COMMON-LISP")))
    ⇒  #<Package "COMMON-LISP">

#### See Also::

package-error