Skip to content

Improve error messages when creating an invalid PFFile. #338

Closed
@richardjrossiii

Description

@richardjrossiii

Currently, if you attempt to create a PFFile with a nil NSData parameter, you get a strange 'file not found' error when attempting to save it to Parse.

Let's make this either

  • Throw an exception
  • Make the PFFile constructor return nil, when invalid data is passed in.

Somewhat relates to #6.

Metadata

Metadata

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