Package org.flywaydb.core.api.output

## Class ErrorOutput

- java.lang.Object
- - org.flywaydb.core.api.output.ErrorOutput

- All Implemented Interfaces:
    `OperationResult`

      public class ErrorOutput
      extends java.lang.Object
      implements OperationResult

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ErrorOutput.ErrorOutputItem` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `ErrorOutput.ErrorOutputItem` | `error` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ErrorOutput​(ErrorCode errorCode, java.lang.String message, java.lang.String stackTrace)` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ErrorOutput` | `fromException​(java.lang.Exception exception)` |
    `static MigrateErrorResult` | `fromMigrateException​(org.flywaydb.core.internal.command.DbMigrate.FlywayMigrateException exception)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### error

          public ErrorOutput.ErrorOutputItem error

  - ### Constructor Detail

    - #### ErrorOutput

          public ErrorOutput​(ErrorCode errorCode,
                             java.lang.String message,
                             java.lang.String stackTrace)

  - ### Method Detail

    - #### fromException

          public static ErrorOutput fromException​(java.lang.Exception exception)

    - #### fromMigrateException

          public static MigrateErrorResult fromMigrateException​(org.flywaydb.core.internal.command.DbMigrate.FlywayMigrateException exception)