Class SpaceScopeRefusedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.meeds.mcp.server.model.SpaceScopeRefusedException
- All Implemented Interfaces:
Serializable
A tool call refused because it reaches, or may reach, outside the only
space its acting identity is limited to, or is a write that isn't an
approved proposal: traced as out of scope, neither as denied nor as an
error, and still an
IllegalStateException for every caller. Its
message is written for the model, which reads it as the tool's result and
can call again within the space.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpaceScopeRefusedException
- Parameters:
message- the explanation the model reads
-