nylas-java
nylas-java copied to clipboard
Improve error handling for attachments
Description
This PR introduces a new error in the case that a user uploads a file that is too large, causing the remote connection to be closed on the API side.
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.