Interface InvalidScopeError

All Superinterfaces:
ErrorObject

public interface InvalidScopeError extends ErrorObject

The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.


Example to create an instance using the builder pattern

     InvalidScopeError invalidScopeError = InvalidScopeError.builder()
             .message("{message}")
             .build()
 
  • Field Details

  • Method Details

    • of

      static InvalidScopeError of()
      factory method
      Returns:
      instance of InvalidScopeError
    • of

      static InvalidScopeError of(InvalidScopeError template)
      factory method to create a shallow copy InvalidScopeError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of InvalidScopeError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static InvalidScopeErrorBuilder builder()
      builder factory method for InvalidScopeError
      Returns:
      builder
    • builder

      static InvalidScopeErrorBuilder builder(InvalidScopeError template)
      create builder for InvalidScopeError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withInvalidScopeError

      default <T> T withInvalidScopeError(Function<InvalidScopeError,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<InvalidScopeError> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference