Skip to content

Commit 2a2a93e

Browse files
committed
Make error of STNetTask nullable.
1 parent d7d2683 commit 2a2a93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STNetTaskQueue/STNetTask.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef void (^STNetTaskSubscriptionBlock)();
5555
/**
5656
Error object which contains error message when net task is failed.
5757
*/
58-
@property (atomic, strong) NSError *error;
58+
@property (nullable, atomic, strong) NSError *error;
5959

6060
/**
6161
Indicates if the net task is waiting for executing or executing.

0 commit comments

Comments
 (0)