ApiException constructor
Creates an ApiException with the given code, message, and optional data.
Implementation
ApiException({required this.code, required this.message, this.data});
Creates an ApiException with the given code, message, and optional data.
ApiException({required this.code, required this.message, this.data});