All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lajospolya.spotifyapiwrapper.response.SpotifyErrorContainer Maven / Gradle / Ivy

Go to download

This project wraps the Spotify public API in order to allow users to intuitively use it

There is a newer version: 3.0.RELEASE
Show newest version
package com.lajospolya.spotifyapiwrapper.response;

/**
 * @author Lajos Polya
 * Represent the container for an errpr response
 */
public class SpotifyErrorContainer
{
    private SpotifyError error;

    @Override
    public String toString()
    {
        return "Returned a status of \"" + error.getStatus() + "\" with error message \"" + error.getMessage() + "\"";
    }

    public SpotifyError getError()
    {
        return error;
    }

    public void setError(SpotifyError error)
    {
        this.error = error;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy