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