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

de.larsgrefer.sass.embedded.SassProtocolErrorException Maven / Gradle / Ivy

There is a newer version: 4.0.0-m2
Show newest version
package de.larsgrefer.sass.embedded;

import com.sass_lang.embedded_protocol.ProtocolError;
import lombok.Getter;

/**
 * @author Lars Grefer
 * @see ProtocolError
 */
@Getter
public class SassProtocolErrorException extends RuntimeException {

    private final ProtocolError protocolError;

    public SassProtocolErrorException(ProtocolError error) {
        super(error.getType() + ": " + error.getMessage());
        this.protocolError = error;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy