Skip to content

Failing with error:nil calls success callback rather than error callback #10

@Voxar

Description

@Voxar

Example below calls the completion callback but not the error callback. Is this by design?

[[[SPTask failedTask:nil] addCallback:^(id value) {
    NSLog(@"Called");
}] addErrorCallback:^(NSError *error) {
    NSLog(@"Not called");
}];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions