wendy / com.levibostian.wendy.db / PendingTaskError / <init>

<init>

PendingTaskError(id: Long, taskId: Long, createdAt: Long, errorMessage: String?, errorId: String?)

Use this class to save a PendingTask instance to a SQLite database. PendingTask is designed to be a developer facing object.

Wendy used to use PendingTask to save to a SQLite database directly but there were limitions to what I could and could not do with the class once I decided to use it as a SQLite model (example: I could not even make it abstract). So, I decided to create another class to convert a PendingTask to and save that data to a SQLite database.