Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Added explicit error message for HRESULT 0x80131515.
Browse files Browse the repository at this point in the history
  • Loading branch information
squid-box committed Aug 15, 2021
1 parent 6153867 commit e63c02d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SevenZip/SevenZipBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ internal void CheckedExecute(int hresult, string message, CallbackBase handler)

switch (hresult)
{
case -2146233067:
exception = new SevenZipException("Operation is not supported. (0x80131515: E_NOTSUPPORTED)");
break;
case -2147024784:
exception = new SevenZipException("There is not enough space on the disk. (0x80070070: ERROR_DISK_FULL)");
break;
Expand Down

0 comments on commit e63c02d

Please sign in to comment.