SmithyError

zio.blocks.smithy.SmithyError
See theSmithyError companion object
sealed trait SmithyError

Error type for Smithy parsing and processing.

Value parameters

column

column number where the error occurred (1-indexed)

line

line number where the error occurred (1-indexed)

message

descriptive error message

source

optional source content (e.g., the Smithy input that caused the error)

Attributes

Companion
object
Source
SmithyError.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ParseError

Members list

Value members

Abstract methods

def column: Int

Attributes

Source
SmithyError.scala
def line: Int

Attributes

Source
SmithyError.scala
def message: String

Attributes

Source
SmithyError.scala
def source: Option[String]

Attributes

Source
SmithyError.scala

Concrete methods

def formatMessage: String

Formats the error into a readable message with location and optional source context.

Formats the error into a readable message with location and optional source context.

Format: "Parse error at line X, column Y: " If source is present: appends "\nSource: "

Attributes

Source
SmithyError.scala