001package com.nimbusds.oauth2.sdk;
002
003
004/**
005 * Response message indicating an error.
006 *
007 * @author Vladimir Dzhuvinov
008 */
009public interface ErrorResponse extends Response {
010
011
012        /**
013         * Gets the error associated with the error response.
014         *
015         * @return The error, {@code null} if none.
016         */
017        public ErrorObject getErrorObject();
018}