Error codes

Format
This format also applies to SceUID.

0x800FXXXX
These are Secure Block error codes.

0x8010XXXX
These are VSH error codes.

VSH error codes seem use bits 15-8 as a "subfacility" field.

0x8087XXXX
These are NpDrm error codes.