forked from ghost/ghost
Source code of Ghost - On Ghost
The SSH server checked instanceof DomainError twice and cast the error to read its message; errorMessage reads it.