Software Development Kit (SDK) and API Discussions

ONTAP API error map

YEGOR_FADEEV
3,466 Views

Hello,

 

My name is Yegor. I've recently started to work with NetApp.

I'm working on Data ONTAP API in Java. I little bit confused when I'm catching different exceptions with the same error code(errno).

 

For instance,

1) Snapmirror error: source contains no new data; suspending transfer to destination  (errno=13102)

2) Volume could be involved in another operation (errno=13102)

3) Snapmirror error: transfer attempted for busy destination  (errno=13102)

4) Snapmirror error: initialize cannot be applied if destination is a mirror  (errno=13102)

 

Could you explain me why the different errors have the same code number ?

 

Also I downloaded netapp-manageability-sdk-ontap-api-documentation and I found the map with error names. It looks like

 

Errno                                        Description

 

EOBJECTNOTFOUND        
EINTERNALERROR        
EAPIPRIVILEGE        
EAPIMISSINGARGUMENT        
ESOURCE_IS_DIFFERENT        
EDEST_ISNOT_LOCAL_VOLUME        
EDEST_IS_LS_VOLUME        
EOP_FROM_NONMGR_VSERVER        
ESOURCE_DEST_SAME        
ETRIES_COUNT_IS_ZERO        
ERELATION_IS_QUIESCED        
EDEST_VOL_LOCKED

 

 

But descriptions are totally missing!

Is it possible to send me a link on error map with description and error code ?

 

 

Regards,

Yegor

0 REPLIES 0
Public