@@ -84,23 +84,23 @@ impl Display for AfError {
8484impl Error for AfError {
8585 fn description ( & self ) -> & str {
8686 match * self {
87- AfError :: SUCCESS => "Function returned successfully" ,
88- AfError :: ERR_NO_MEM => "The system or device ran out of memory" ,
89- AfError :: ERR_DRIVER => "Device driver error " ,
90- AfError :: ERR_RUNTIME => "Error in runtime environment" ,
91- AfError :: ERR_INVALID_ARRAY => "Input is not a valid Array Object " ,
92- AfError :: ERR_ARG => "One of the function arguments is incorrect" ,
93- AfError :: ERR_SIZE => "The size is incorrect" ,
94- AfError :: ERR_TYPE => "The type is not supported by this function" ,
95- AfError :: ERR_DIFF_TYPE => "The type of input arrays are not compatible" ,
96- AfError :: ERR_BATCH => "Function does not support GFOR / batch mode" ,
97- AfError :: ERR_DEVICE => "Array does not belong to device" ,
98- AfError :: ERR_NOT_SUPPORTED => "The option is not supported " ,
87+ AfError :: SUCCESS => "Function returned successfully" ,
88+ AfError :: ERR_NO_MEM => "System or Device ran out of memory" ,
89+ AfError :: ERR_DRIVER => "Error in the device driver " ,
90+ AfError :: ERR_RUNTIME => "Error with the runtime environment" ,
91+ AfError :: ERR_INVALID_ARRAY => "Iput Array is not a valid object " ,
92+ AfError :: ERR_ARG => "One of the function arguments is incorrect" ,
93+ AfError :: ERR_SIZE => "Size is incorrect" ,
94+ AfError :: ERR_TYPE => "Type is not suppported by this function" ,
95+ AfError :: ERR_DIFF_TYPE => "Type of the input arrays are not compatible" ,
96+ AfError :: ERR_BATCH => "Function does not support GFOR / batch mode" ,
97+ AfError :: ERR_DEVICE => "Input does not belong to the current device" ,
98+ AfError :: ERR_NOT_SUPPORTED => "Unsupported operation/parameter option " ,
9999 AfError :: ERR_NOT_CONFIGURED => "This build of ArrayFire does not support this feature" ,
100- AfError :: ERR_NO_DBL => "This device does not support double" ,
101- AfError :: ERR_NO_GFX => "This build of ArrayFire was not built with graphics or this device does not support graphics " ,
102- AfError :: ERR_INTERNAL => "There was an internal error in either ArrayFire or upstream project",
103- AfError :: ERR_UNKNOWN => "Unkown Error" ,
100+ AfError :: ERR_NO_DBL => "This device does not support double" ,
101+ AfError :: ERR_NO_GFX => "This build of ArrayFire has no graphics support" ,
102+ AfError :: ERR_INTERNAL => "Eror either in ArrayFire or in a project upstream ",
103+ AfError :: ERR_UNKNOWN => "Unknown Error" ,
104104 }
105105 }
106106}
0 commit comments