Skip to content

type declaration for errors are wrong #370

@Louis-Tian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions