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