toString method
Returns the error code string for cross-SDK compatibility.
This enables seamless use of the enum in string contexts and maintains backward compatibility with code expecting string values.
Implementation
@override
String toString() => code;