Skip to content

RuneError

Josh Wright edited this page Jan 14, 2021 · 3 revisions

RuneError

Any general error that might occur when using the Rune ORM.

public struct RuneError: Error

Inheritance

Error

Properties

message

What went wrong.

let message: String

notFound

A Model wasn't found.

let notFound

relationshipWasNil

Couldn't unwrap a relationship that was expected to be nonnil.

let relationshipWasNil

syncErrorNoId

Couldn't sync a model; its id was nil.

let syncErrorNoId

Methods

syncErrorNoMatch(table:id:)

Failed to sync a model; it didn't exist in the database.

public static func syncErrorNoMatch<P: PrimaryKey>(table: String, id: P) -> RuneError
Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally