class Sus::Assertions::Error

def each_failure(&block)

def each_failure(&block)
	yield self
end

def initialize(identity, error)

def initialize(identity, error)
	@identity = identity
	@error = error
end

def message

def message
	{
		text: @error.full_message,
		location: @identity&.to_location
	}
end