Skip to content

add info about ErrorWrapper object #476

@iztsv

Description

@iztsv

What problem does this feature solve?

As I can see find method returns Wrapper object if element found or ErrorWrapper object if not element found. Both are implement BaseWrapper.

I think it will be good to add this information in order to do more clear info about returning type of find.

Also, may be create page for ErrorWrapper object.

What does the proposed API look like?

Returns: {Wrapper}

to something like

Returns: {Wrapper | ErrorWrapper}

...some notes when ErrorWrapper returned and example...

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