Oracle Error PLS-00232: nested packages not permitted

Oracle Error Message

PLS-00232: nested packages not permitted

Reason for the Error

A package was declared inside another package, but package declarations are allowed only at the top level. In other words, packages cannot be nested.

Solution

Move the package declaration outside the enclosing package.