SpotifyException.fromSpotify constructor

SpotifyException.fromSpotify(
  1. SpotifyError error
)

Implementation

SpotifyException.fromSpotify(SpotifyError error) {
  status = error.status;
  message = error.message;
}