Issue #19
Your response return Map<String, String+ArrayList>:
In src/main/java/com/shipengine/InternalClient.java
func checkResponseForErrors( )
you initiate a Map<String, ArrayList> to get that response:
then this ClassCastException's thrown (should be ShipengineException)
class java.lang.String cannot be cast to class java.util.ArrayList (java.lang.String and java.util.ArrayList are in module java.base of loader 'bootstrap')
I suggest using Object instead of ArrayList.
Work just fine for me.
Issue #19 Your response return Map<String, String+ArrayList>:
In src/main/java/com/shipengine/InternalClient.java func checkResponseForErrors( ) you initiate a Map<String, ArrayList> to get that response:
then this ClassCastException's thrown (should be ShipengineException)
class java.lang.String cannot be cast to class java.util.ArrayList (java.lang.String and java.util.ArrayList are in module java.base of loader 'bootstrap')
I suggest using Object instead of ArrayList. Work just fine for me.