Closed jasperblues closed 9 years ago
If the error block is nil, then a crash occurs (in the event of an error).
This is probably correct, but perhaps there could be a default logging error block - logs a warning to the console.
I chose not to implement a default error block, but try to make the developer aware of his possible mistake by asserting the existence of the completion and error block as early as possible.
If the error block is nil, then a crash occurs (in the event of an error).
This is probably correct, but perhaps there could be a default logging error block - logs a warning to the console.