dev.openfga.language.errors.DslErrorsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java Show documentation
Show all versions of java Show documentation
This is the language library for OpenFGA.
package dev.openfga.language.errors;
import java.util.List;
public class DslErrorsException extends Exception {
private final List extends ParsingError> errors;
public DslErrorsException(List extends ParsingError> errors) {
super(Errors.messagesFromErrors(errors));
this.errors = errors;
}
public List extends ParsingError> getErrors() {
return errors;
}
}