Add eacces POSIX error processing (#138)

This commit is contained in:
Andrey Fadeev 2020-06-19 15:22:57 +03:00 committed by GitHub
parent feb52436aa
commit dd5eaa73ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,6 +238,7 @@ handle_result({error, Reason}, WoodyState) when
Reason =:= enetdown ;
Reason =:= enetunreach ;
Reason =:= ehostunreach ;
Reason =:= eacces ;
element(1, Reason) =:= resolve_failed
->
BinReason = woody_error:format_details(Reason),