Skip to main content
Glama
DocumentationException.php920 B
<?php declare(strict_types=1); namespace GoldenPathDigital\LaravelAscend\Documentation; use RuntimeException; final class DocumentationException extends RuntimeException { public static function becauseFileIsMissing(string $path): self { return new self(sprintf('Knowledge base file not found: %s', $path)); } public static function becauseFileCouldNotBeParsed(string $path, string $error): self { return new self(sprintf('Unable to parse knowledge base file %s: %s', $path, $error)); } public static function becauseBasePathIsInvalid(string $path): self { return new self(sprintf('Knowledge base directory is invalid or not accessible: %s', $path)); } public static function becauseDocumentNotFound(string $type, string $identifier): self { return new self(sprintf('Knowledge base %s "%s" was not found.', $type, $identifier)); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aarongrtech/laravel-ascend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server