Ssl handshake error code classification

Is there a general way to determine if an error that occurs while establishing an SSL connection is the fault of the initiator or the acceptor? I am trying to build a server that accepts incoming SSL connections. When the handshake process throws an error, I’d like to be able to tell if it was caused by a server misconfiguration, so I can close the server, or by a misconfigured client, in which case I would just disconnect them and continue.