ObjFW  Diff

Differences From Artifact [7235b51172]:

To Artifact [c76f9e9235]:


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import "OFString.h"

#import "common.h"

@implementation OFReadFailedException
- (OFString*)description
{
	if (description != nil)
		return description;

	description = [[OFString alloc] initWithFormat:
	    @"Failed to read %zu bytes in class %@! " ERRFMT, requestedLength,
	    inClass, ERRPARAM];

	return description;
}
@end







|
|

|
|
|

|


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import "OFString.h"

#import "common.h"

@implementation OFReadFailedException
- (OFString*)description
{
	if (_description != nil)
		return _description;

	_description = [[OFString alloc] initWithFormat:
	    @"Failed to read %zu bytes in class %@! " ERRFMT, _requestedLength,
	    _inClass, ERRPARAM];

	return _description;
}
@end