nn::fs::ResultVerificationFailed Class

Syntax

class ResultVerificationFailed

Description

Either verification failed or some form of tampering was detected.

This error indicates that the target archive or file has been tampered with.
However, this error can also be returned if a file has been corrupted for some other reason: for example, if a card was removed or the system was turned off while the file was being written. (With save data, such situations do not occur when automatic redundancy is enabled.)

Note

This error can also be returned if a newly created region is loaded before it has ever been written to. Note this fact if you create a file using the nn::fs::TryCreateFile function, and then increase its size using nn::fs::FileStream::TrySetSize or a similar function.

Also, note that if you delete a file and then immediately create a file (or create and increase its size), loading that region succeeds and the loaded data might be from the previous deleted file. In other words, this error might not be returned.

Revision History

2010/12/24
Added a Note.
2010/10/30
Initial version.

CONFIDENTIAL