Something went wrong. Try again.
Parse and validate AT Protocol Lexicons with DTO generation for Laravel
Something went wrong. Try again.
610 B · 28 lines
PHP
at dev
1234567891011121314151617181920212223242526272829<?php
namespace SocialDept\AtpSchema\Exceptions;
class SchemaNotFoundException extends SchemaException{ /** * Create exception for missing NSID. */ public static function forNsid(string $nsid): self { return static::withContext( "Schema not found for NSID: {$nsid}", ['nsid' => $nsid] ); }
/** * Create exception for missing file. */ public static function forFile(string $path): self { return static::withContext( "Schema file not found: {$path}", ['path' => $path] ); }}