Skip to content

type declaration for errors are wrong #370

Description

@Louis-Tian

The errors are exposed in the declaration file at top level.

export class GeneralError extends Error {

But they are actually exported under the ftpErrors.

module.exports.ftpErrors = errors;

Should wrap the errors in the type definition inside a namespace to match the code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions